HEX: #04CB17
RGB: (4,203,23)
#04CB17 contains mainly green color. Web safe color of #04CB17 is #00CC00 (or #0C0).
#04CB17 color RGB value is (4,203,23).
RGB: (4,203,23) (2%,80%,9%)
R 4 of 255 = 2%
G 203 of 255 = 80%
B 23 of 255 = 9%
R + G + B ~ 30%. #04CB17 is quite dark color.
R + G + B =
4 + 203 + 23 = 230 (100%)
R 4 of 230 ~ 1.74%
G 203 of 230 ~ 88.26%
B 23 of 230 ~ 10%
#04CB17 color CMYK value is (98,0,89,20).
CMYK: (98,0,89,20) C98M0Y89K20 (98%,0%,89%,20%) (0.98/0.00/0.89/0.20)
04 | CB | 17 | |
---|---|---|---|
RGB | 4 | 203 | 23 |
HSL | 126° | 96.14% | 40.59% |
HSB/HSV | 126° | 98.03% | 79.61% |
CMYK | 98.03% | 0.00% | 88.67% |
20.39% |
HEX | 04 | CB | 17 |
Decimal | 4 | 203 | 23 |
Binary | 100 | 11001011 | 10111 |
Octal | 4 | 313 | 27 |
Examples of css and html codes for elements with #04CB17 color. Also use rgb(4,203,23) instead hex code.
.myTextColor { color: #04CB17; }
<p style="color:#04CB17">This sample text font color is #04CB17.</p>
This text font color is #04CB17.
.myBgColor { background-color: #04CB17; }
<div style="background-color:#04CB17">Inner text</div>
This div background color is #04CB17.
.myBorderColor { border: 1px solid #04CB17; }
<div style="border:3px solid #04CB17">Div</div>
This div border color is #04CB17.
.myOpacity80 { color: #04CB17; opacity: 0.8; }
<p style="color:#04CB17;opacity:0.8;">80%</p>
Text with #04CB17 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04CB17;}
<p style="text-shadow: 3px 3px 1px #04CB17">Text here.</p>
This text has shadow with #04CB17 color.
.textShadow {text-shadow: 3px 3px 1px #04CB17, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04CB17, 5px 5px 20px red">Text here.</p>
This text has shadow with #04CB17 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04CB17, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04CB17, Direction=45, Strength=4)">Text</p>
This text has shadow with #04CB17 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04CB17; -webkit-box-shadow: 1px 1px 3px 2px #04CB17; box-shadow: 1px 1px 3px 2px #04CB17; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04CB17; -webkit-box-shadow: 1px 1px 3px 2px #04CB17; box-shadow:1px 1px 3px 2px #04CB17;">
Div content here</div>
This text has color #04CB17 on black background.
This text has color #04CB17 on white background.
This text has black color on #04CB17 background.
This text has white color on #04CB17 background.