HEX: #04A961
RGB: (4,169,97)
#04A961 contains mainly green color. Web safe color of #04A961 is #009966 (or #096).
#04A961 color RGB value is (4,169,97).
RGB: (4,169,97) (2%,66%,38%)
R 4 of 255 = 2%
G 169 of 255 = 66%
B 97 of 255 = 38%
R + G + B ~ 35%. #04A961 is quite dark color.
R + G + B =
4 + 169 + 97 = 270 (100%)
R 4 of 270 ~ 1.48%
G 169 of 270 ~ 62.59%
B 97 of 270 ~ 35.93%
#04A961 color CMYK value is (98,0,43,34).
CMYK: (98,0,43,34) C98M0Y43K34 (98%,0%,43%,34%) (0.98/0.00/0.43/0.34)
04 | A9 | 61 | |
---|---|---|---|
RGB | 4 | 169 | 97 |
HSL | 154° | 95.38% | 33.92% |
HSB/HSV | 154° | 97.63% | 66.27% |
CMYK | 97.63% | 0.00% | 42.60% |
33.73% |
HEX | 04 | A9 | 61 |
Decimal | 4 | 169 | 97 |
Binary | 100 | 10101001 | 1100001 |
Octal | 4 | 251 | 141 |
Examples of css and html codes for elements with #04A961 color. Also use rgb(4,169,97) instead hex code.
.myTextColor { color: #04A961; }
<p style="color:#04A961">This sample text font color is #04A961.</p>
This text font color is #04A961.
.myBgColor { background-color: #04A961; }
<div style="background-color:#04A961">Inner text</div>
This div background color is #04A961.
.myBorderColor { border: 1px solid #04A961; }
<div style="border:3px solid #04A961">Div</div>
This div border color is #04A961.
.myOpacity80 { color: #04A961; opacity: 0.8; }
<p style="color:#04A961;opacity:0.8;">80%</p>
Text with #04A961 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04A961;}
<p style="text-shadow: 3px 3px 1px #04A961">Text here.</p>
This text has shadow with #04A961 color.
.textShadow {text-shadow: 3px 3px 1px #04A961, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04A961, 5px 5px 20px red">Text here.</p>
This text has shadow with #04A961 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04A961, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04A961, Direction=45, Strength=4)">Text</p>
This text has shadow with #04A961 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04A961; -webkit-box-shadow: 1px 1px 3px 2px #04A961; box-shadow: 1px 1px 3px 2px #04A961; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04A961; -webkit-box-shadow: 1px 1px 3px 2px #04A961; box-shadow:1px 1px 3px 2px #04A961;">
Div content here</div>
This text has color #04A961 on black background.
This text has color #04A961 on white background.
This text has black color on #04A961 background.
This text has white color on #04A961 background.