HEX: #587F04
RGB: (88,127,4)
#587F04 contains mainly red and green colors. Web safe color of #587F04 is #666600 (or #660).
#587F04 color RGB value is (88,127,4).
RGB: (88,127,4) (35%,50%,2%)
R 88 of 255 = 35%
G 127 of 255 = 50%
B 4 of 255 = 2%
R + G + B ~ 29%. #587F04 is quite dark color.
R + G + B =
88 + 127 + 4 = 219 (100%)
R 88 of 219 ~ 40.18%
G 127 of 219 ~ 57.99%
B 4 of 219 ~ 1.83%
#587F04 color CMYK value is (31,0,97,50).
CMYK: (31,0,97,50) C31M0Y97K50 (31%,0%,97%,50%) (0.31/0.00/0.97/0.50)
58 | 7F | 04 | |
---|---|---|---|
RGB | 88 | 127 | 4 |
HSL | 79° | 93.89% | 25.69% |
HSB/HSV | 79° | 96.85% | 49.80% |
CMYK | 30.71% | 0.00% | 96.85% |
50.20% |
HEX | 58 | 7F | 04 |
Decimal | 88 | 127 | 4 |
Binary | 1011000 | 1111111 | 100 |
Octal | 130 | 177 | 4 |
Examples of css and html codes for elements with #587F04 color. Also use rgb(88,127,4) instead hex code.
.myTextColor { color: #587F04; }
<p style="color:#587F04">This sample text font color is #587F04.</p>
This text font color is #587F04.
.myBgColor { background-color: #587F04; }
<div style="background-color:#587F04">Inner text</div>
This div background color is #587F04.
.myBorderColor { border: 1px solid #587F04; }
<div style="border:3px solid #587F04">Div</div>
This div border color is #587F04.
.myOpacity80 { color: #587F04; opacity: 0.8; }
<p style="color:#587F04;opacity:0.8;">80%</p>
Text with #587F04 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #587F04;}
<p style="text-shadow: 3px 3px 1px #587F04">Text here.</p>
This text has shadow with #587F04 color.
.textShadow {text-shadow: 3px 3px 1px #587F04, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #587F04, 5px 5px 20px red">Text here.</p>
This text has shadow with #587F04 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#587F04, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#587F04, Direction=45, Strength=4)">Text</p>
This text has shadow with #587F04 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #587F04; -webkit-box-shadow: 1px 1px 3px 2px #587F04; box-shadow: 1px 1px 3px 2px #587F04; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #587F04; -webkit-box-shadow: 1px 1px 3px 2px #587F04; box-shadow:1px 1px 3px 2px #587F04;">
Div content here</div>
This text has color #587F04 on black background.
This text has color #587F04 on white background.
This text has black color on #587F04 background.
This text has white color on #587F04 background.