HEX: #559827
RGB: (85,152,39)
#559827 contains mainly green color. Web safe color of #559827 is #669933 (or #693).
#559827 color RGB value is (85,152,39).
RGB: (85,152,39) (33%,60%,15%)
R 85 of 255 = 33%
G 152 of 255 = 60%
B 39 of 255 = 15%
R + G + B ~ 36%. #559827 is quite dark color.
R + G + B =
85 + 152 + 39 = 276 (100%)
R 85 of 276 ~ 30.8%
G 152 of 276 ~ 55.07%
B 39 of 276 ~ 14.13%
#559827 color CMYK value is (44,0,74,40).
CMYK: (44,0,74,40) C44M0Y74K40 (44%,0%,74%,40%) (0.44/0.00/0.74/0.40)
55 | 98 | 27 | |
---|---|---|---|
RGB | 85 | 152 | 39 |
HSL | 96° | 59.16% | 37.45% |
HSB/HSV | 96° | 74.34% | 59.61% |
CMYK | 44.08% | 0.00% | 74.34% |
40.39% |
HEX | 55 | 98 | 27 |
Decimal | 85 | 152 | 39 |
Binary | 1010101 | 10011000 | 100111 |
Octal | 125 | 230 | 47 |
Examples of css and html codes for elements with #559827 color. Also use rgb(85,152,39) instead hex code.
.myTextColor { color: #559827; }
<p style="color:#559827">This sample text font color is #559827.</p>
This text font color is #559827.
.myBgColor { background-color: #559827; }
<div style="background-color:#559827">Inner text</div>
This div background color is #559827.
.myBorderColor { border: 1px solid #559827; }
<div style="border:3px solid #559827">Div</div>
This div border color is #559827.
.myOpacity80 { color: #559827; opacity: 0.8; }
<p style="color:#559827;opacity:0.8;">80%</p>
Text with #559827 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #559827;}
<p style="text-shadow: 3px 3px 1px #559827">Text here.</p>
This text has shadow with #559827 color.
.textShadow {text-shadow: 3px 3px 1px #559827, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #559827, 5px 5px 20px red">Text here.</p>
This text has shadow with #559827 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#559827, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#559827, Direction=45, Strength=4)">Text</p>
This text has shadow with #559827 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #559827; -webkit-box-shadow: 1px 1px 3px 2px #559827; box-shadow: 1px 1px 3px 2px #559827; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #559827; -webkit-box-shadow: 1px 1px 3px 2px #559827; box-shadow:1px 1px 3px 2px #559827;">
Div content here</div>
This text has color #559827 on black background.
This text has color #559827 on white background.
This text has black color on #559827 background.
This text has white color on #559827 background.