HEX: #42CC9D
RGB: (66,204,157)
#42CC9D contains mainly green and blue colors. Web safe color of #42CC9D is #33CC99 (or #3C9).
#42CC9D color RGB value is (66,204,157).
RGB: (66,204,157) (26%,80%,62%)
R 66 of 255 = 26%
G 204 of 255 = 80%
B 157 of 255 = 62%
R + G + B ~ 56%. #42CC9D is middle color (not dark and not light).
R + G + B =
66 + 204 + 157 = 427 (100%)
R 66 of 427 ~ 15.46%
G 204 of 427 ~ 47.78%
B 157 of 427 ~ 36.77%
#42CC9D color CMYK value is (68,0,23,20).
CMYK: (68,0,23,20) C68M0Y23K20 (68%,0%,23%,20%) (0.68/0.00/0.23/0.20)
42 | CC | 9D | |
---|---|---|---|
RGB | 66 | 204 | 157 |
HSL | 160° | 57.50% | 52.94% |
HSB/HSV | 160° | 67.65% | 80.00% |
CMYK | 67.65% | 0.00% | 23.04% |
20.00% |
HEX | 42 | CC | 9D |
Decimal | 66 | 204 | 157 |
Binary | 1000010 | 11001100 | 10011101 |
Octal | 102 | 314 | 235 |
Examples of css and html codes for elements with #42CC9D color. Also use rgb(66,204,157) instead hex code.
.myTextColor { color: #42CC9D; }
<p style="color:#42CC9D">This sample text font color is #42CC9D.</p>
This text font color is #42CC9D.
.myBgColor { background-color: #42CC9D; }
<div style="background-color:#42CC9D">Inner text</div>
This div background color is #42CC9D.
.myBorderColor { border: 1px solid #42CC9D; }
<div style="border:3px solid #42CC9D">Div</div>
This div border color is #42CC9D.
.myOpacity80 { color: #42CC9D; opacity: 0.8; }
<p style="color:#42CC9D;opacity:0.8;">80%</p>
Text with #42CC9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42CC9D;}
<p style="text-shadow: 3px 3px 1px #42CC9D">Text here.</p>
This text has shadow with #42CC9D color.
.textShadow {text-shadow: 3px 3px 1px #42CC9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42CC9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42CC9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42CC9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42CC9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42CC9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42CC9D; -webkit-box-shadow: 1px 1px 3px 2px #42CC9D; box-shadow: 1px 1px 3px 2px #42CC9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42CC9D; -webkit-box-shadow: 1px 1px 3px 2px #42CC9D; box-shadow:1px 1px 3px 2px #42CC9D;">
Div content here</div>
This text has color #42CC9D on black background.
This text has color #42CC9D on white background.
This text has black color on #42CC9D background.
This text has white color on #42CC9D background.