HEX: #42E7A7
RGB: (66,231,167)
#42E7A7 contains mainly green color. Web safe color of #42E7A7 is #33FF99 (or #3F9).
#42E7A7 color RGB value is (66,231,167).
RGB: (66,231,167) (26%,91%,65%)
R 66 of 255 = 26%
G 231 of 255 = 91%
B 167 of 255 = 65%
R + G + B ~ 61%. #42E7A7 is quite light color.
R + G + B =
66 + 231 + 167 = 464 (100%)
R 66 of 464 ~ 14.22%
G 231 of 464 ~ 49.78%
B 167 of 464 ~ 35.99%
#42E7A7 color CMYK value is (71,0,28,9).
CMYK: (71,0,28,9) C71M0Y28K9 (71%,0%,28%,9%) (0.71/0.00/0.28/0.09)
42 | E7 | A7 | |
---|---|---|---|
RGB | 66 | 231 | 167 |
HSL | 157° | 77.46% | 58.24% |
HSB/HSV | 157° | 71.43% | 90.59% |
CMYK | 71.43% | 0.00% | 27.71% |
9.41% |
HEX | 42 | E7 | A7 |
Decimal | 66 | 231 | 167 |
Binary | 1000010 | 11100111 | 10100111 |
Octal | 102 | 347 | 247 |
Examples of css and html codes for elements with #42E7A7 color. Also use rgb(66,231,167) instead hex code.
.myTextColor { color: #42E7A7; }
<p style="color:#42E7A7">This sample text font color is #42E7A7.</p>
This text font color is #42E7A7.
.myBgColor { background-color: #42E7A7; }
<div style="background-color:#42E7A7">Inner text</div>
This div background color is #42E7A7.
.myBorderColor { border: 1px solid #42E7A7; }
<div style="border:3px solid #42E7A7">Div</div>
This div border color is #42E7A7.
.myOpacity80 { color: #42E7A7; opacity: 0.8; }
<p style="color:#42E7A7;opacity:0.8;">80%</p>
Text with #42E7A7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42E7A7;}
<p style="text-shadow: 3px 3px 1px #42E7A7">Text here.</p>
This text has shadow with #42E7A7 color.
.textShadow {text-shadow: 3px 3px 1px #42E7A7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42E7A7, 5px 5px 20px red">Text here.</p>
This text has shadow with #42E7A7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42E7A7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42E7A7, Direction=45, Strength=4)">Text</p>
This text has shadow with #42E7A7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42E7A7; -webkit-box-shadow: 1px 1px 3px 2px #42E7A7; box-shadow: 1px 1px 3px 2px #42E7A7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42E7A7; -webkit-box-shadow: 1px 1px 3px 2px #42E7A7; box-shadow:1px 1px 3px 2px #42E7A7;">
Div content here</div>
This text has color #42E7A7 on black background.
This text has color #42E7A7 on white background.
This text has black color on #42E7A7 background.
This text has white color on #42E7A7 background.