HEX: #487F4F
RGB: (72,127,79)
#487F4F contains red, green and blue colors in about the same proportion. Web safe color of #487F4F is #336666 (or #366).
#487F4F color RGB value is (72,127,79).
RGB: (72,127,79) (28%,50%,31%)
R 72 of 255 = 28%
G 127 of 255 = 50%
B 79 of 255 = 31%
R + G + B ~ 36%. #487F4F is quite dark color.
R + G + B =
72 + 127 + 79 = 278 (100%)
R 72 of 278 ~ 25.9%
G 127 of 278 ~ 45.68%
B 79 of 278 ~ 28.42%
#487F4F color CMYK value is (43,0,38,50).
CMYK: (43,0,38,50) C43M0Y38K50 (43%,0%,38%,50%) (0.43/0.00/0.38/0.50)
48 | 7F | 4F | |
---|---|---|---|
RGB | 72 | 127 | 79 |
HSL | 128° | 27.64% | 39.02% |
HSB/HSV | 128° | 43.31% | 49.80% |
CMYK | 43.31% | 0.00% | 37.80% |
50.20% |
HEX | 48 | 7F | 4F |
Decimal | 72 | 127 | 79 |
Binary | 1001000 | 1111111 | 1001111 |
Octal | 110 | 177 | 117 |
Examples of css and html codes for elements with #487F4F color. Also use rgb(72,127,79) instead hex code.
.myTextColor { color: #487F4F; }
<p style="color:#487F4F">This sample text font color is #487F4F.</p>
This text font color is #487F4F.
.myBgColor { background-color: #487F4F; }
<div style="background-color:#487F4F">Inner text</div>
This div background color is #487F4F.
.myBorderColor { border: 1px solid #487F4F; }
<div style="border:3px solid #487F4F">Div</div>
This div border color is #487F4F.
.myOpacity80 { color: #487F4F; opacity: 0.8; }
<p style="color:#487F4F;opacity:0.8;">80%</p>
Text with #487F4F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #487F4F;}
<p style="text-shadow: 3px 3px 1px #487F4F">Text here.</p>
This text has shadow with #487F4F color.
.textShadow {text-shadow: 3px 3px 1px #487F4F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #487F4F, 5px 5px 20px red">Text here.</p>
This text has shadow with #487F4F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#487F4F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#487F4F, Direction=45, Strength=4)">Text</p>
This text has shadow with #487F4F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #487F4F; -webkit-box-shadow: 1px 1px 3px 2px #487F4F; box-shadow: 1px 1px 3px 2px #487F4F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #487F4F; -webkit-box-shadow: 1px 1px 3px 2px #487F4F; box-shadow:1px 1px 3px 2px #487F4F;">
Div content here</div>
This text has color #487F4F on black background.
This text has color #487F4F on white background.
This text has black color on #487F4F background.
This text has white color on #487F4F background.