HEX: #587842
RGB: (88,120,66)
#587842 contains red, green and blue colors in about the same proportion. Web safe color of #587842 is #666633 (or #663).
#587842 color RGB value is (88,120,66).
RGB: (88,120,66) (35%,47%,26%)
R 88 of 255 = 35%
G 120 of 255 = 47%
B 66 of 255 = 26%
R + G + B ~ 36%. #587842 is quite dark color.
R + G + B =
88 + 120 + 66 = 274 (100%)
R 88 of 274 ~ 32.12%
G 120 of 274 ~ 43.8%
B 66 of 274 ~ 24.09%
#587842 color CMYK value is (27,0,45,53).
CMYK: (27,0,45,53) C27M0Y45K53 (27%,0%,45%,53%) (0.27/0.00/0.45/0.53)
58 | 78 | 42 | |
---|---|---|---|
RGB | 88 | 120 | 66 |
HSL | 96° | 29.03% | 36.47% |
HSB/HSV | 96° | 45.00% | 47.06% |
CMYK | 26.67% | 0.00% | 45.00% |
52.94% |
HEX | 58 | 78 | 42 |
Decimal | 88 | 120 | 66 |
Binary | 1011000 | 1111000 | 1000010 |
Octal | 130 | 170 | 102 |
Examples of css and html codes for elements with #587842 color. Also use rgb(88,120,66) instead hex code.
.myTextColor { color: #587842; }
<p style="color:#587842">This sample text font color is #587842.</p>
This text font color is #587842.
.myBgColor { background-color: #587842; }
<div style="background-color:#587842">Inner text</div>
This div background color is #587842.
.myBorderColor { border: 1px solid #587842; }
<div style="border:3px solid #587842">Div</div>
This div border color is #587842.
.myOpacity80 { color: #587842; opacity: 0.8; }
<p style="color:#587842;opacity:0.8;">80%</p>
Text with #587842 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #587842;}
<p style="text-shadow: 3px 3px 1px #587842">Text here.</p>
This text has shadow with #587842 color.
.textShadow {text-shadow: 3px 3px 1px #587842, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #587842, 5px 5px 20px red">Text here.</p>
This text has shadow with #587842 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#587842, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#587842, Direction=45, Strength=4)">Text</p>
This text has shadow with #587842 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #587842; -webkit-box-shadow: 1px 1px 3px 2px #587842; box-shadow: 1px 1px 3px 2px #587842; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #587842; -webkit-box-shadow: 1px 1px 3px 2px #587842; box-shadow:1px 1px 3px 2px #587842;">
Div content here</div>
This text has color #587842 on black background.
This text has color #587842 on white background.
This text has black color on #587842 background.
This text has white color on #587842 background.