HEX: #488016
RGB: (72,128,22)
#488016 contains mainly red and green colors. Web safe color of #488016 is #336600 (or #360).
#488016 color RGB value is (72,128,22).
RGB: (72,128,22) (28%,50%,9%)
R 72 of 255 = 28%
G 128 of 255 = 50%
B 22 of 255 = 9%
R + G + B ~ 29%. #488016 is quite dark color.
R + G + B =
72 + 128 + 22 = 222 (100%)
R 72 of 222 ~ 32.43%
G 128 of 222 ~ 57.66%
B 22 of 222 ~ 9.91%
#488016 color CMYK value is (44,0,83,50).
CMYK: (44,0,83,50) C44M0Y83K50 (44%,0%,83%,50%) (0.44/0.00/0.83/0.50)
48 | 80 | 16 | |
---|---|---|---|
RGB | 72 | 128 | 22 |
HSL | 92° | 70.67% | 29.41% |
HSB/HSV | 92° | 82.81% | 50.20% |
CMYK | 43.75% | 0.00% | 82.81% |
49.80% |
HEX | 48 | 80 | 16 |
Decimal | 72 | 128 | 22 |
Binary | 1001000 | 10000000 | 10110 |
Octal | 110 | 200 | 26 |
Examples of css and html codes for elements with #488016 color. Also use rgb(72,128,22) instead hex code.
.myTextColor { color: #488016; }
<p style="color:#488016">This sample text font color is #488016.</p>
This text font color is #488016.
.myBgColor { background-color: #488016; }
<div style="background-color:#488016">Inner text</div>
This div background color is #488016.
.myBorderColor { border: 1px solid #488016; }
<div style="border:3px solid #488016">Div</div>
This div border color is #488016.
.myOpacity80 { color: #488016; opacity: 0.8; }
<p style="color:#488016;opacity:0.8;">80%</p>
Text with #488016 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #488016;}
<p style="text-shadow: 3px 3px 1px #488016">Text here.</p>
This text has shadow with #488016 color.
.textShadow {text-shadow: 3px 3px 1px #488016, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #488016, 5px 5px 20px red">Text here.</p>
This text has shadow with #488016 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#488016, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#488016, Direction=45, Strength=4)">Text</p>
This text has shadow with #488016 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #488016; -webkit-box-shadow: 1px 1px 3px 2px #488016; box-shadow: 1px 1px 3px 2px #488016; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #488016; -webkit-box-shadow: 1px 1px 3px 2px #488016; box-shadow:1px 1px 3px 2px #488016;">
Div content here</div>
This text has color #488016 on black background.
This text has color #488016 on white background.
This text has black color on #488016 background.
This text has white color on #488016 background.