HEX: #48A002
RGB: (72,160,2)
#48A002 contains mainly green color. Web safe color of #48A002 is #339900 (or #390).
#48A002 color RGB value is (72,160,2).
RGB: (72,160,2) (28%,63%,1%)
R 72 of 255 = 28%
G 160 of 255 = 63%
B 2 of 255 = 1%
R + G + B ~ 31%. #48A002 is quite dark color.
R + G + B =
72 + 160 + 2 = 234 (100%)
R 72 of 234 ~ 30.77%
G 160 of 234 ~ 68.38%
B 2 of 234 ~ 0.85%
#48A002 color CMYK value is (55,0,99,37).
CMYK: (55,0,99,37) C55M0Y99K37 (55%,0%,99%,37%) (0.55/0.00/0.99/0.37)
48 | A0 | 02 | |
---|---|---|---|
RGB | 72 | 160 | 2 |
HSL | 93° | 97.53% | 31.76% |
HSB/HSV | 93° | 98.75% | 62.75% |
CMYK | 55.00% | 0.00% | 98.75% |
37.25% |
HEX | 48 | A0 | 02 |
Decimal | 72 | 160 | 2 |
Binary | 1001000 | 10100000 | 10 |
Octal | 110 | 240 | 2 |
Examples of css and html codes for elements with #48A002 color. Also use rgb(72,160,2) instead hex code.
.myTextColor { color: #48A002; }
<p style="color:#48A002">This sample text font color is #48A002.</p>
This text font color is #48A002.
.myBgColor { background-color: #48A002; }
<div style="background-color:#48A002">Inner text</div>
This div background color is #48A002.
.myBorderColor { border: 1px solid #48A002; }
<div style="border:3px solid #48A002">Div</div>
This div border color is #48A002.
.myOpacity80 { color: #48A002; opacity: 0.8; }
<p style="color:#48A002;opacity:0.8;">80%</p>
Text with #48A002 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48A002;}
<p style="text-shadow: 3px 3px 1px #48A002">Text here.</p>
This text has shadow with #48A002 color.
.textShadow {text-shadow: 3px 3px 1px #48A002, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48A002, 5px 5px 20px red">Text here.</p>
This text has shadow with #48A002 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48A002, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48A002, Direction=45, Strength=4)">Text</p>
This text has shadow with #48A002 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48A002; -webkit-box-shadow: 1px 1px 3px 2px #48A002; box-shadow: 1px 1px 3px 2px #48A002; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48A002; -webkit-box-shadow: 1px 1px 3px 2px #48A002; box-shadow:1px 1px 3px 2px #48A002;">
Div content here</div>
This text has color #48A002 on black background.
This text has color #48A002 on white background.
This text has black color on #48A002 background.
This text has white color on #48A002 background.