HEX: #487321
RGB: (72,115,33)
#487321 contains mainly red and green colors. Web safe color of #487321 is #336633 (or #363).
#487321 color RGB value is (72,115,33).
RGB: (72,115,33) (28%,45%,13%)
R 72 of 255 = 28%
G 115 of 255 = 45%
B 33 of 255 = 13%
R + G + B ~ 29%. #487321 is quite dark color.
R + G + B =
72 + 115 + 33 = 220 (100%)
R 72 of 220 ~ 32.73%
G 115 of 220 ~ 52.27%
B 33 of 220 ~ 15%
#487321 color CMYK value is (37,0,71,55).
CMYK: (37,0,71,55) C37M0Y71K55 (37%,0%,71%,55%) (0.37/0.00/0.71/0.55)
48 | 73 | 21 | |
---|---|---|---|
RGB | 72 | 115 | 33 |
HSL | 91° | 55.41% | 29.02% |
HSB/HSV | 91° | 71.30% | 45.10% |
CMYK | 37.39% | 0.00% | 71.30% |
54.90% |
HEX | 48 | 73 | 21 |
Decimal | 72 | 115 | 33 |
Binary | 1001000 | 1110011 | 100001 |
Octal | 110 | 163 | 41 |
Examples of css and html codes for elements with #487321 color. Also use rgb(72,115,33) instead hex code.
.myTextColor { color: #487321; }
<p style="color:#487321">This sample text font color is #487321.</p>
This text font color is #487321.
.myBgColor { background-color: #487321; }
<div style="background-color:#487321">Inner text</div>
This div background color is #487321.
.myBorderColor { border: 1px solid #487321; }
<div style="border:3px solid #487321">Div</div>
This div border color is #487321.
.myOpacity80 { color: #487321; opacity: 0.8; }
<p style="color:#487321;opacity:0.8;">80%</p>
Text with #487321 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #487321;}
<p style="text-shadow: 3px 3px 1px #487321">Text here.</p>
This text has shadow with #487321 color.
.textShadow {text-shadow: 3px 3px 1px #487321, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #487321, 5px 5px 20px red">Text here.</p>
This text has shadow with #487321 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#487321, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#487321, Direction=45, Strength=4)">Text</p>
This text has shadow with #487321 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #487321; -webkit-box-shadow: 1px 1px 3px 2px #487321; box-shadow: 1px 1px 3px 2px #487321; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #487321; -webkit-box-shadow: 1px 1px 3px 2px #487321; box-shadow:1px 1px 3px 2px #487321;">
Div content here</div>
This text has color #487321 on black background.
This text has color #487321 on white background.
This text has black color on #487321 background.
This text has white color on #487321 background.