HEX: #42EAA6
RGB: (66,234,166)
#42EAA6 contains mainly green color. Web safe color of #42EAA6 is #33FF99 (or #3F9).
#42EAA6 color RGB value is (66,234,166).
RGB: (66,234,166) (26%,92%,65%)
R 66 of 255 = 26%
G 234 of 255 = 92%
B 166 of 255 = 65%
R + G + B ~ 61%. #42EAA6 is quite light color.
R + G + B =
66 + 234 + 166 = 466 (100%)
R 66 of 466 ~ 14.16%
G 234 of 466 ~ 50.21%
B 166 of 466 ~ 35.62%
#42EAA6 color CMYK value is (72,0,29,8).
CMYK: (72,0,29,8) C72M0Y29K8 (72%,0%,29%,8%) (0.72/0.00/0.29/0.08)
42 | EA | A6 | |
---|---|---|---|
RGB | 66 | 234 | 166 |
HSL | 156° | 80.00% | 58.82% |
HSB/HSV | 156° | 71.79% | 91.76% |
CMYK | 71.79% | 0.00% | 29.06% |
8.24% |
HEX | 42 | EA | A6 |
Decimal | 66 | 234 | 166 |
Binary | 1000010 | 11101010 | 10100110 |
Octal | 102 | 352 | 246 |
Examples of css and html codes for elements with #42EAA6 color. Also use rgb(66,234,166) instead hex code.
.myTextColor { color: #42EAA6; }
<p style="color:#42EAA6">This sample text font color is #42EAA6.</p>
This text font color is #42EAA6.
.myBgColor { background-color: #42EAA6; }
<div style="background-color:#42EAA6">Inner text</div>
This div background color is #42EAA6.
.myBorderColor { border: 1px solid #42EAA6; }
<div style="border:3px solid #42EAA6">Div</div>
This div border color is #42EAA6.
.myOpacity80 { color: #42EAA6; opacity: 0.8; }
<p style="color:#42EAA6;opacity:0.8;">80%</p>
Text with #42EAA6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42EAA6;}
<p style="text-shadow: 3px 3px 1px #42EAA6">Text here.</p>
This text has shadow with #42EAA6 color.
.textShadow {text-shadow: 3px 3px 1px #42EAA6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42EAA6, 5px 5px 20px red">Text here.</p>
This text has shadow with #42EAA6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42EAA6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42EAA6, Direction=45, Strength=4)">Text</p>
This text has shadow with #42EAA6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42EAA6; -webkit-box-shadow: 1px 1px 3px 2px #42EAA6; box-shadow: 1px 1px 3px 2px #42EAA6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42EAA6; -webkit-box-shadow: 1px 1px 3px 2px #42EAA6; box-shadow:1px 1px 3px 2px #42EAA6;">
Div content here</div>
This text has color #42EAA6 on black background.
This text has color #42EAA6 on white background.
This text has black color on #42EAA6 background.
This text has white color on #42EAA6 background.