HEX: #42ED4F
RGB: (66,237,79)
#42ED4F contains mainly green color. Web safe color of #42ED4F is #33FF66 (or #3F6).
#42ED4F color RGB value is (66,237,79).
RGB: (66,237,79) (26%,93%,31%)
R 66 of 255 = 26%
G 237 of 255 = 93%
B 79 of 255 = 31%
R + G + B ~ 50%. #42ED4F is middle color (not dark and not light).
R + G + B =
66 + 237 + 79 = 382 (100%)
R 66 of 382 ~ 17.28%
G 237 of 382 ~ 62.04%
B 79 of 382 ~ 20.68%
#42ED4F color CMYK value is (72,0,67,7).
CMYK: (72,0,67,7) C72M0Y67K7 (72%,0%,67%,7%) (0.72/0.00/0.67/0.07)
42 | ED | 4F | |
---|---|---|---|
RGB | 66 | 237 | 79 |
HSL | 125° | 82.61% | 59.41% |
HSB/HSV | 125° | 72.15% | 92.94% |
CMYK | 72.15% | 0.00% | 66.67% |
7.06% |
HEX | 42 | ED | 4F |
Decimal | 66 | 237 | 79 |
Binary | 1000010 | 11101101 | 1001111 |
Octal | 102 | 355 | 117 |
Examples of css and html codes for elements with #42ED4F color. Also use rgb(66,237,79) instead hex code.
.myTextColor { color: #42ED4F; }
<p style="color:#42ED4F">This sample text font color is #42ED4F.</p>
This text font color is #42ED4F.
.myBgColor { background-color: #42ED4F; }
<div style="background-color:#42ED4F">Inner text</div>
This div background color is #42ED4F.
.myBorderColor { border: 1px solid #42ED4F; }
<div style="border:3px solid #42ED4F">Div</div>
This div border color is #42ED4F.
.myOpacity80 { color: #42ED4F; opacity: 0.8; }
<p style="color:#42ED4F;opacity:0.8;">80%</p>
Text with #42ED4F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42ED4F;}
<p style="text-shadow: 3px 3px 1px #42ED4F">Text here.</p>
This text has shadow with #42ED4F color.
.textShadow {text-shadow: 3px 3px 1px #42ED4F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42ED4F, 5px 5px 20px red">Text here.</p>
This text has shadow with #42ED4F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42ED4F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42ED4F, Direction=45, Strength=4)">Text</p>
This text has shadow with #42ED4F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42ED4F; -webkit-box-shadow: 1px 1px 3px 2px #42ED4F; box-shadow: 1px 1px 3px 2px #42ED4F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42ED4F; -webkit-box-shadow: 1px 1px 3px 2px #42ED4F; box-shadow:1px 1px 3px 2px #42ED4F;">
Div content here</div>
This text has color #42ED4F on black background.
This text has color #42ED4F on white background.
This text has black color on #42ED4F background.
This text has white color on #42ED4F background.