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