HEX: #42E772
RGB: (66,231,114)
#42E772 contains mainly green color. Web safe color of #42E772 is #33FF66 (or #3F6).
#42E772 color RGB value is (66,231,114).
RGB: (66,231,114) (26%,91%,45%)
R 66 of 255 = 26%
G 231 of 255 = 91%
B 114 of 255 = 45%
R + G + B ~ 54%. #42E772 is middle color (not dark and not light).
R + G + B =
66 + 231 + 114 = 411 (100%)
R 66 of 411 ~ 16.06%
G 231 of 411 ~ 56.2%
B 114 of 411 ~ 27.74%
#42E772 color CMYK value is (71,0,51,9).
CMYK: (71,0,51,9) C71M0Y51K9 (71%,0%,51%,9%) (0.71/0.00/0.51/0.09)
42 | E7 | 72 | |
---|---|---|---|
RGB | 66 | 231 | 114 |
HSL | 137° | 77.46% | 58.24% |
HSB/HSV | 137° | 71.43% | 90.59% |
CMYK | 71.43% | 0.00% | 50.65% |
9.41% |
HEX | 42 | E7 | 72 |
Decimal | 66 | 231 | 114 |
Binary | 1000010 | 11100111 | 1110010 |
Octal | 102 | 347 | 162 |
Examples of css and html codes for elements with #42E772 color. Also use rgb(66,231,114) instead hex code.
.myTextColor { color: #42E772; }
<p style="color:#42E772">This sample text font color is #42E772.</p>
This text font color is #42E772.
.myBgColor { background-color: #42E772; }
<div style="background-color:#42E772">Inner text</div>
This div background color is #42E772.
.myBorderColor { border: 1px solid #42E772; }
<div style="border:3px solid #42E772">Div</div>
This div border color is #42E772.
.myOpacity80 { color: #42E772; opacity: 0.8; }
<p style="color:#42E772;opacity:0.8;">80%</p>
Text with #42E772 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42E772;}
<p style="text-shadow: 3px 3px 1px #42E772">Text here.</p>
This text has shadow with #42E772 color.
.textShadow {text-shadow: 3px 3px 1px #42E772, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42E772, 5px 5px 20px red">Text here.</p>
This text has shadow with #42E772 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42E772, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42E772, Direction=45, Strength=4)">Text</p>
This text has shadow with #42E772 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42E772; -webkit-box-shadow: 1px 1px 3px 2px #42E772; box-shadow: 1px 1px 3px 2px #42E772; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42E772; -webkit-box-shadow: 1px 1px 3px 2px #42E772; box-shadow:1px 1px 3px 2px #42E772;">
Div content here</div>
This text has color #42E772 on black background.
This text has color #42E772 on white background.
This text has black color on #42E772 background.
This text has white color on #42E772 background.