HEX: #42E561
RGB: (66,229,97)
#42E561 contains mainly green color. Web safe color of #42E561 is #33CC66 (or #3C6).
#42E561 color RGB value is (66,229,97).
RGB: (66,229,97) (26%,90%,38%)
R 66 of 255 = 26%
G 229 of 255 = 90%
B 97 of 255 = 38%
R + G + B ~ 51%. #42E561 is middle color (not dark and not light).
R + G + B =
66 + 229 + 97 = 392 (100%)
R 66 of 392 ~ 16.84%
G 229 of 392 ~ 58.42%
B 97 of 392 ~ 24.74%
#42E561 color CMYK value is (71,0,58,10).
CMYK: (71,0,58,10) C71M0Y58K10 (71%,0%,58%,10%) (0.71/0.00/0.58/0.10)
42 | E5 | 61 | |
---|---|---|---|
RGB | 66 | 229 | 97 |
HSL | 131° | 75.81% | 57.84% |
HSB/HSV | 131° | 71.18% | 89.80% |
CMYK | 71.18% | 0.00% | 57.64% |
10.20% |
HEX | 42 | E5 | 61 |
Decimal | 66 | 229 | 97 |
Binary | 1000010 | 11100101 | 1100001 |
Octal | 102 | 345 | 141 |
Examples of css and html codes for elements with #42E561 color. Also use rgb(66,229,97) instead hex code.
.myTextColor { color: #42E561; }
<p style="color:#42E561">This sample text font color is #42E561.</p>
This text font color is #42E561.
.myBgColor { background-color: #42E561; }
<div style="background-color:#42E561">Inner text</div>
This div background color is #42E561.
.myBorderColor { border: 1px solid #42E561; }
<div style="border:3px solid #42E561">Div</div>
This div border color is #42E561.
.myOpacity80 { color: #42E561; opacity: 0.8; }
<p style="color:#42E561;opacity:0.8;">80%</p>
Text with #42E561 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42E561;}
<p style="text-shadow: 3px 3px 1px #42E561">Text here.</p>
This text has shadow with #42E561 color.
.textShadow {text-shadow: 3px 3px 1px #42E561, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42E561, 5px 5px 20px red">Text here.</p>
This text has shadow with #42E561 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42E561, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42E561, Direction=45, Strength=4)">Text</p>
This text has shadow with #42E561 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42E561; -webkit-box-shadow: 1px 1px 3px 2px #42E561; box-shadow: 1px 1px 3px 2px #42E561; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42E561; -webkit-box-shadow: 1px 1px 3px 2px #42E561; box-shadow:1px 1px 3px 2px #42E561;">
Div content here</div>
This text has color #42E561 on black background.
This text has color #42E561 on white background.
This text has black color on #42E561 background.
This text has white color on #42E561 background.