HEX: #487B28
RGB: (72,123,40)
#487B28 contains mainly red and green colors. Web safe color of #487B28 is #336633 (or #363).
#487B28 color RGB value is (72,123,40).
RGB: (72,123,40) (28%,48%,16%)
R 72 of 255 = 28%
G 123 of 255 = 48%
B 40 of 255 = 16%
R + G + B ~ 31%. #487B28 is quite dark color.
R + G + B =
72 + 123 + 40 = 235 (100%)
R 72 of 235 ~ 30.64%
G 123 of 235 ~ 52.34%
B 40 of 235 ~ 17.02%
#487B28 color CMYK value is (41,0,67,52).
CMYK: (41,0,67,52) C41M0Y67K52 (41%,0%,67%,52%) (0.41/0.00/0.67/0.52)
48 | 7B | 28 | |
---|---|---|---|
RGB | 72 | 123 | 40 |
HSL | 97° | 50.92% | 31.96% |
HSB/HSV | 97° | 67.48% | 48.24% |
CMYK | 41.46% | 0.00% | 67.48% |
51.76% |
HEX | 48 | 7B | 28 |
Decimal | 72 | 123 | 40 |
Binary | 1001000 | 1111011 | 101000 |
Octal | 110 | 173 | 50 |
Examples of css and html codes for elements with #487B28 color. Also use rgb(72,123,40) instead hex code.
.myTextColor { color: #487B28; }
<p style="color:#487B28">This sample text font color is #487B28.</p>
This text font color is #487B28.
.myBgColor { background-color: #487B28; }
<div style="background-color:#487B28">Inner text</div>
This div background color is #487B28.
.myBorderColor { border: 1px solid #487B28; }
<div style="border:3px solid #487B28">Div</div>
This div border color is #487B28.
.myOpacity80 { color: #487B28; opacity: 0.8; }
<p style="color:#487B28;opacity:0.8;">80%</p>
Text with #487B28 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #487B28;}
<p style="text-shadow: 3px 3px 1px #487B28">Text here.</p>
This text has shadow with #487B28 color.
.textShadow {text-shadow: 3px 3px 1px #487B28, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #487B28, 5px 5px 20px red">Text here.</p>
This text has shadow with #487B28 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#487B28, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#487B28, Direction=45, Strength=4)">Text</p>
This text has shadow with #487B28 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #487B28; -webkit-box-shadow: 1px 1px 3px 2px #487B28; box-shadow: 1px 1px 3px 2px #487B28; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #487B28; -webkit-box-shadow: 1px 1px 3px 2px #487B28; box-shadow:1px 1px 3px 2px #487B28;">
Div content here</div>
This text has color #487B28 on black background.
This text has color #487B28 on white background.
This text has black color on #487B28 background.
This text has white color on #487B28 background.