HEX: #487521
RGB: (72,117,33)
#487521 contains mainly red and green colors. Web safe color of #487521 is #336633 (or #363).
#487521 color RGB value is (72,117,33).
RGB: (72,117,33) (28%,46%,13%)
R 72 of 255 = 28%
G 117 of 255 = 46%
B 33 of 255 = 13%
R + G + B ~ 29%. #487521 is quite dark color.
R + G + B =
72 + 117 + 33 = 222 (100%)
R 72 of 222 ~ 32.43%
G 117 of 222 ~ 52.7%
B 33 of 222 ~ 14.86%
#487521 color CMYK value is (38,0,72,54).
CMYK: (38,0,72,54) C38M0Y72K54 (38%,0%,72%,54%) (0.38/0.00/0.72/0.54)
48 | 75 | 21 | |
---|---|---|---|
RGB | 72 | 117 | 33 |
HSL | 92° | 56.00% | 29.41% |
HSB/HSV | 92° | 71.79% | 45.88% |
CMYK | 38.46% | 0.00% | 71.79% |
54.12% |
HEX | 48 | 75 | 21 |
Decimal | 72 | 117 | 33 |
Binary | 1001000 | 1110101 | 100001 |
Octal | 110 | 165 | 41 |
Examples of css and html codes for elements with #487521 color. Also use rgb(72,117,33) instead hex code.
.myTextColor { color: #487521; }
<p style="color:#487521">This sample text font color is #487521.</p>
This text font color is #487521.
.myBgColor { background-color: #487521; }
<div style="background-color:#487521">Inner text</div>
This div background color is #487521.
.myBorderColor { border: 1px solid #487521; }
<div style="border:3px solid #487521">Div</div>
This div border color is #487521.
.myOpacity80 { color: #487521; opacity: 0.8; }
<p style="color:#487521;opacity:0.8;">80%</p>
Text with #487521 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #487521;}
<p style="text-shadow: 3px 3px 1px #487521">Text here.</p>
This text has shadow with #487521 color.
.textShadow {text-shadow: 3px 3px 1px #487521, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #487521, 5px 5px 20px red">Text here.</p>
This text has shadow with #487521 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#487521, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#487521, Direction=45, Strength=4)">Text</p>
This text has shadow with #487521 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #487521; -webkit-box-shadow: 1px 1px 3px 2px #487521; box-shadow: 1px 1px 3px 2px #487521; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #487521; -webkit-box-shadow: 1px 1px 3px 2px #487521; box-shadow:1px 1px 3px 2px #487521;">
Div content here</div>
This text has color #487521 on black background.
This text has color #487521 on white background.
This text has black color on #487521 background.
This text has white color on #487521 background.