HEX: #04FA1A
RGB: (4,250,26)
#04FA1A contains mainly green color. Web safe color of #04FA1A is #00FF00 (or #0F0).
#04FA1A color RGB value is (4,250,26).
RGB: (4,250,26) (2%,98%,10%)
R 4 of 255 = 2%
G 250 of 255 = 98%
B 26 of 255 = 10%
R + G + B ~ 37%. #04FA1A is quite dark color.
R + G + B =
4 + 250 + 26 = 280 (100%)
R 4 of 280 ~ 1.43%
G 250 of 280 ~ 89.29%
B 26 of 280 ~ 9.29%
#04FA1A color CMYK value is (98,0,90,2).
CMYK: (98,0,90,2) C98M0Y90K2 (98%,0%,90%,2%) (0.98/0.00/0.90/0.02)
04 | FA | 1A | |
---|---|---|---|
RGB | 4 | 250 | 26 |
HSL | 125° | 96.85% | 49.80% |
HSB/HSV | 125° | 98.40% | 98.04% |
CMYK | 98.40% | 0.00% | 89.60% |
1.96% |
HEX | 04 | FA | 1A |
Decimal | 4 | 250 | 26 |
Binary | 100 | 11111010 | 11010 |
Octal | 4 | 372 | 32 |
Examples of css and html codes for elements with #04FA1A color. Also use rgb(4,250,26) instead hex code.
.myTextColor { color: #04FA1A; }
<p style="color:#04FA1A">This sample text font color is #04FA1A.</p>
This text font color is #04FA1A.
.myBgColor { background-color: #04FA1A; }
<div style="background-color:#04FA1A">Inner text</div>
This div background color is #04FA1A.
.myBorderColor { border: 1px solid #04FA1A; }
<div style="border:3px solid #04FA1A">Div</div>
This div border color is #04FA1A.
.myOpacity80 { color: #04FA1A; opacity: 0.8; }
<p style="color:#04FA1A;opacity:0.8;">80%</p>
Text with #04FA1A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04FA1A;}
<p style="text-shadow: 3px 3px 1px #04FA1A">Text here.</p>
This text has shadow with #04FA1A color.
.textShadow {text-shadow: 3px 3px 1px #04FA1A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04FA1A, 5px 5px 20px red">Text here.</p>
This text has shadow with #04FA1A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04FA1A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04FA1A, Direction=45, Strength=4)">Text</p>
This text has shadow with #04FA1A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04FA1A; -webkit-box-shadow: 1px 1px 3px 2px #04FA1A; box-shadow: 1px 1px 3px 2px #04FA1A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04FA1A; -webkit-box-shadow: 1px 1px 3px 2px #04FA1A; box-shadow:1px 1px 3px 2px #04FA1A;">
Div content here</div>
This text has color #04FA1A on black background.
This text has color #04FA1A on white background.
This text has black color on #04FA1A background.
This text has white color on #04FA1A background.