HEX: #04AB29
RGB: (4,171,41)
#04AB29 contains mainly green color. Web safe color of #04AB29 is #009933 (or #093).
#04AB29 color RGB value is (4,171,41).
RGB: (4,171,41) (2%,67%,16%)
R 4 of 255 = 2%
G 171 of 255 = 67%
B 41 of 255 = 16%
R + G + B ~ 28%. #04AB29 is quite dark color.
R + G + B =
4 + 171 + 41 = 216 (100%)
R 4 of 216 ~ 1.85%
G 171 of 216 ~ 79.17%
B 41 of 216 ~ 18.98%
#04AB29 color CMYK value is (98,0,76,33).
CMYK: (98,0,76,33) C98M0Y76K33 (98%,0%,76%,33%) (0.98/0.00/0.76/0.33)
04 | AB | 29 | |
---|---|---|---|
RGB | 4 | 171 | 41 |
HSL | 133° | 95.43% | 34.31% |
HSB/HSV | 133° | 97.66% | 67.06% |
CMYK | 97.66% | 0.00% | 76.02% |
32.94% |
HEX | 04 | AB | 29 |
Decimal | 4 | 171 | 41 |
Binary | 100 | 10101011 | 101001 |
Octal | 4 | 253 | 51 |
Examples of css and html codes for elements with #04AB29 color. Also use rgb(4,171,41) instead hex code.
.myTextColor { color: #04AB29; }
<p style="color:#04AB29">This sample text font color is #04AB29.</p>
This text font color is #04AB29.
.myBgColor { background-color: #04AB29; }
<div style="background-color:#04AB29">Inner text</div>
This div background color is #04AB29.
.myBorderColor { border: 1px solid #04AB29; }
<div style="border:3px solid #04AB29">Div</div>
This div border color is #04AB29.
.myOpacity80 { color: #04AB29; opacity: 0.8; }
<p style="color:#04AB29;opacity:0.8;">80%</p>
Text with #04AB29 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04AB29;}
<p style="text-shadow: 3px 3px 1px #04AB29">Text here.</p>
This text has shadow with #04AB29 color.
.textShadow {text-shadow: 3px 3px 1px #04AB29, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04AB29, 5px 5px 20px red">Text here.</p>
This text has shadow with #04AB29 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04AB29, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04AB29, Direction=45, Strength=4)">Text</p>
This text has shadow with #04AB29 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04AB29; -webkit-box-shadow: 1px 1px 3px 2px #04AB29; box-shadow: 1px 1px 3px 2px #04AB29; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04AB29; -webkit-box-shadow: 1px 1px 3px 2px #04AB29; box-shadow:1px 1px 3px 2px #04AB29;">
Div content here</div>
This text has color #04AB29 on black background.
This text has color #04AB29 on white background.
This text has black color on #04AB29 background.
This text has white color on #04AB29 background.