HEX: #487950
RGB: (72,121,80)
#487950 contains red, green and blue colors in about the same proportion. Web safe color of #487950 is #336666 (or #366).
#487950 color RGB value is (72,121,80).
RGB: (72,121,80) (28%,47%,31%)
R 72 of 255 = 28%
G 121 of 255 = 47%
B 80 of 255 = 31%
R + G + B ~ 35%. #487950 is quite dark color.
R + G + B =
72 + 121 + 80 = 273 (100%)
R 72 of 273 ~ 26.37%
G 121 of 273 ~ 44.32%
B 80 of 273 ~ 29.3%
#487950 color CMYK value is (40,0,34,53).
CMYK: (40,0,34,53) C40M0Y34K53 (40%,0%,34%,53%) (0.40/0.00/0.34/0.53)
48 | 79 | 50 | |
---|---|---|---|
RGB | 72 | 121 | 80 |
HSL | 130° | 25.39% | 37.84% |
HSB/HSV | 130° | 40.50% | 47.45% |
CMYK | 40.50% | 0.00% | 33.88% |
52.55% |
HEX | 48 | 79 | 50 |
Decimal | 72 | 121 | 80 |
Binary | 1001000 | 1111001 | 1010000 |
Octal | 110 | 171 | 120 |
Examples of css and html codes for elements with #487950 color. Also use rgb(72,121,80) instead hex code.
.myTextColor { color: #487950; }
<p style="color:#487950">This sample text font color is #487950.</p>
This text font color is #487950.
.myBgColor { background-color: #487950; }
<div style="background-color:#487950">Inner text</div>
This div background color is #487950.
.myBorderColor { border: 1px solid #487950; }
<div style="border:3px solid #487950">Div</div>
This div border color is #487950.
.myOpacity80 { color: #487950; opacity: 0.8; }
<p style="color:#487950;opacity:0.8;">80%</p>
Text with #487950 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #487950;}
<p style="text-shadow: 3px 3px 1px #487950">Text here.</p>
This text has shadow with #487950 color.
.textShadow {text-shadow: 3px 3px 1px #487950, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #487950, 5px 5px 20px red">Text here.</p>
This text has shadow with #487950 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#487950, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#487950, Direction=45, Strength=4)">Text</p>
This text has shadow with #487950 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #487950; -webkit-box-shadow: 1px 1px 3px 2px #487950; box-shadow: 1px 1px 3px 2px #487950; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #487950; -webkit-box-shadow: 1px 1px 3px 2px #487950; box-shadow:1px 1px 3px 2px #487950;">
Div content here</div>
This text has color #487950 on black background.
This text has color #487950 on white background.
This text has black color on #487950 background.
This text has white color on #487950 background.