HEX: #42E615
RGB: (66,230,21)
#42E615 contains mainly green color. Web safe color of #42E615 is #33CC00 (or #3C0).
#42E615 color RGB value is (66,230,21).
RGB: (66,230,21) (26%,90%,8%)
R 66 of 255 = 26%
G 230 of 255 = 90%
B 21 of 255 = 8%
R + G + B ~ 41%. #42E615 is middle color (not dark and not light).
R + G + B =
66 + 230 + 21 = 317 (100%)
R 66 of 317 ~ 20.82%
G 230 of 317 ~ 72.56%
B 21 of 317 ~ 6.62%
#42E615 color CMYK value is (71,0,91,10).
CMYK: (71,0,91,10) C71M0Y91K10 (71%,0%,91%,10%) (0.71/0.00/0.91/0.10)
42 | E6 | 15 | |
---|---|---|---|
RGB | 66 | 230 | 21 |
HSL | 107° | 83.27% | 49.22% |
HSB/HSV | 107° | 90.87% | 90.20% |
CMYK | 71.30% | 0.00% | 90.87% |
9.80% |
HEX | 42 | E6 | 15 |
Decimal | 66 | 230 | 21 |
Binary | 1000010 | 11100110 | 10101 |
Octal | 102 | 346 | 25 |
Examples of css and html codes for elements with #42E615 color. Also use rgb(66,230,21) instead hex code.
.myTextColor { color: #42E615; }
<p style="color:#42E615">This sample text font color is #42E615.</p>
This text font color is #42E615.
.myBgColor { background-color: #42E615; }
<div style="background-color:#42E615">Inner text</div>
This div background color is #42E615.
.myBorderColor { border: 1px solid #42E615; }
<div style="border:3px solid #42E615">Div</div>
This div border color is #42E615.
.myOpacity80 { color: #42E615; opacity: 0.8; }
<p style="color:#42E615;opacity:0.8;">80%</p>
Text with #42E615 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42E615;}
<p style="text-shadow: 3px 3px 1px #42E615">Text here.</p>
This text has shadow with #42E615 color.
.textShadow {text-shadow: 3px 3px 1px #42E615, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42E615, 5px 5px 20px red">Text here.</p>
This text has shadow with #42E615 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42E615, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42E615, Direction=45, Strength=4)">Text</p>
This text has shadow with #42E615 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42E615; -webkit-box-shadow: 1px 1px 3px 2px #42E615; box-shadow: 1px 1px 3px 2px #42E615; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42E615; -webkit-box-shadow: 1px 1px 3px 2px #42E615; box-shadow:1px 1px 3px 2px #42E615;">
Div content here</div>
This text has color #42E615 on black background.
This text has color #42E615 on white background.
This text has black color on #42E615 background.
This text has white color on #42E615 background.