HEX: #488210
RGB: (72,130,16)
#488210 contains mainly red and green colors. Web safe color of #488210 is #339900 (or #390).
#488210 color RGB value is (72,130,16).
RGB: (72,130,16) (28%,51%,6%)
R 72 of 255 = 28%
G 130 of 255 = 51%
B 16 of 255 = 6%
R + G + B ~ 28%. #488210 is quite dark color.
R + G + B =
72 + 130 + 16 = 218 (100%)
R 72 of 218 ~ 33.03%
G 130 of 218 ~ 59.63%
B 16 of 218 ~ 7.34%
#488210 color CMYK value is (45,0,88,49).
CMYK: (45,0,88,49) C45M0Y88K49 (45%,0%,88%,49%) (0.45/0.00/0.88/0.49)
48 | 82 | 10 | |
---|---|---|---|
RGB | 72 | 130 | 16 |
HSL | 91° | 78.08% | 28.63% |
HSB/HSV | 91° | 87.69% | 50.98% |
CMYK | 44.62% | 0.00% | 87.69% |
49.02% |
HEX | 48 | 82 | 10 |
Decimal | 72 | 130 | 16 |
Binary | 1001000 | 10000010 | 10000 |
Octal | 110 | 202 | 20 |
Examples of css and html codes for elements with #488210 color. Also use rgb(72,130,16) instead hex code.
.myTextColor { color: #488210; }
<p style="color:#488210">This sample text font color is #488210.</p>
This text font color is #488210.
.myBgColor { background-color: #488210; }
<div style="background-color:#488210">Inner text</div>
This div background color is #488210.
.myBorderColor { border: 1px solid #488210; }
<div style="border:3px solid #488210">Div</div>
This div border color is #488210.
.myOpacity80 { color: #488210; opacity: 0.8; }
<p style="color:#488210;opacity:0.8;">80%</p>
Text with #488210 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #488210;}
<p style="text-shadow: 3px 3px 1px #488210">Text here.</p>
This text has shadow with #488210 color.
.textShadow {text-shadow: 3px 3px 1px #488210, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #488210, 5px 5px 20px red">Text here.</p>
This text has shadow with #488210 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#488210, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#488210, Direction=45, Strength=4)">Text</p>
This text has shadow with #488210 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #488210; -webkit-box-shadow: 1px 1px 3px 2px #488210; box-shadow: 1px 1px 3px 2px #488210; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #488210; -webkit-box-shadow: 1px 1px 3px 2px #488210; box-shadow:1px 1px 3px 2px #488210;">
Div content here</div>
This text has color #488210 on black background.
This text has color #488210 on white background.
This text has black color on #488210 background.
This text has white color on #488210 background.