HEX: #04F795
RGB: (4,247,149)
#04F795 contains mainly green color. Web safe color of #04F795 is #00FF99 (or #0F9).
#04F795 color RGB value is (4,247,149).
RGB: (4,247,149) (2%,97%,58%)
R 4 of 255 = 2%
G 247 of 255 = 97%
B 149 of 255 = 58%
R + G + B ~ 52%. #04F795 is middle color (not dark and not light).
R + G + B =
4 + 247 + 149 = 400 (100%)
R 4 of 400 ~ 1%
G 247 of 400 ~ 61.75%
B 149 of 400 ~ 37.25%
#04F795 color CMYK value is (98,0,40,3).
CMYK: (98,0,40,3) C98M0Y40K3 (98%,0%,40%,3%) (0.98/0.00/0.40/0.03)
04 | F7 | 95 | |
---|---|---|---|
RGB | 4 | 247 | 149 |
HSL | 156° | 96.81% | 49.22% |
HSB/HSV | 156° | 98.38% | 96.86% |
CMYK | 98.38% | 0.00% | 39.68% |
3.14% |
HEX | 04 | F7 | 95 |
Decimal | 4 | 247 | 149 |
Binary | 100 | 11110111 | 10010101 |
Octal | 4 | 367 | 225 |
Examples of css and html codes for elements with #04F795 color. Also use rgb(4,247,149) instead hex code.
.myTextColor { color: #04F795; }
<p style="color:#04F795">This sample text font color is #04F795.</p>
This text font color is #04F795.
.myBgColor { background-color: #04F795; }
<div style="background-color:#04F795">Inner text</div>
This div background color is #04F795.
.myBorderColor { border: 1px solid #04F795; }
<div style="border:3px solid #04F795">Div</div>
This div border color is #04F795.
.myOpacity80 { color: #04F795; opacity: 0.8; }
<p style="color:#04F795;opacity:0.8;">80%</p>
Text with #04F795 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04F795;}
<p style="text-shadow: 3px 3px 1px #04F795">Text here.</p>
This text has shadow with #04F795 color.
.textShadow {text-shadow: 3px 3px 1px #04F795, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04F795, 5px 5px 20px red">Text here.</p>
This text has shadow with #04F795 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04F795, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04F795, Direction=45, Strength=4)">Text</p>
This text has shadow with #04F795 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04F795; -webkit-box-shadow: 1px 1px 3px 2px #04F795; box-shadow: 1px 1px 3px 2px #04F795; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04F795; -webkit-box-shadow: 1px 1px 3px 2px #04F795; box-shadow:1px 1px 3px 2px #04F795;">
Div content here</div>
This text has color #04F795 on black background.
This text has color #04F795 on white background.
This text has black color on #04F795 background.
This text has white color on #04F795 background.