HEX: #04AB66
RGB: (4,171,102)
#04AB66 contains mainly green color. Web safe color of #04AB66 is #009966 (or #096).
#04AB66 color RGB value is (4,171,102).
RGB: (4,171,102) (2%,67%,40%)
R 4 of 255 = 2%
G 171 of 255 = 67%
B 102 of 255 = 40%
R + G + B ~ 36%. #04AB66 is quite dark color.
R + G + B =
4 + 171 + 102 = 277 (100%)
R 4 of 277 ~ 1.44%
G 171 of 277 ~ 61.73%
B 102 of 277 ~ 36.82%
#04AB66 color CMYK value is (98,0,40,33).
CMYK: (98,0,40,33) C98M0Y40K33 (98%,0%,40%,33%) (0.98/0.00/0.40/0.33)
04 | AB | 66 | |
---|---|---|---|
RGB | 4 | 171 | 102 |
HSL | 155° | 95.43% | 34.31% |
HSB/HSV | 155° | 97.66% | 67.06% |
CMYK | 97.66% | 0.00% | 40.35% |
32.94% |
HEX | 04 | AB | 66 |
Decimal | 4 | 171 | 102 |
Binary | 100 | 10101011 | 1100110 |
Octal | 4 | 253 | 146 |
Examples of css and html codes for elements with #04AB66 color. Also use rgb(4,171,102) instead hex code.
.myTextColor { color: #04AB66; }
<p style="color:#04AB66">This sample text font color is #04AB66.</p>
This text font color is #04AB66.
.myBgColor { background-color: #04AB66; }
<div style="background-color:#04AB66">Inner text</div>
This div background color is #04AB66.
.myBorderColor { border: 1px solid #04AB66; }
<div style="border:3px solid #04AB66">Div</div>
This div border color is #04AB66.
.myOpacity80 { color: #04AB66; opacity: 0.8; }
<p style="color:#04AB66;opacity:0.8;">80%</p>
Text with #04AB66 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04AB66;}
<p style="text-shadow: 3px 3px 1px #04AB66">Text here.</p>
This text has shadow with #04AB66 color.
.textShadow {text-shadow: 3px 3px 1px #04AB66, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04AB66, 5px 5px 20px red">Text here.</p>
This text has shadow with #04AB66 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04AB66, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04AB66, Direction=45, Strength=4)">Text</p>
This text has shadow with #04AB66 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04AB66; -webkit-box-shadow: 1px 1px 3px 2px #04AB66; box-shadow: 1px 1px 3px 2px #04AB66; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04AB66; -webkit-box-shadow: 1px 1px 3px 2px #04AB66; box-shadow:1px 1px 3px 2px #04AB66;">
Div content here</div>
This text has color #04AB66 on black background.
This text has color #04AB66 on white background.
This text has black color on #04AB66 background.
This text has white color on #04AB66 background.