HEX: #42B97C
RGB: (66,185,124)
#42B97C contains mainly green color. Web safe color of #42B97C is #33CC66 (or #3C6).
#42B97C color RGB value is (66,185,124).
RGB: (66,185,124) (26%,73%,49%)
R 66 of 255 = 26%
G 185 of 255 = 73%
B 124 of 255 = 49%
R + G + B ~ 49%. #42B97C is middle color (not dark and not light).
R + G + B =
66 + 185 + 124 = 375 (100%)
R 66 of 375 ~ 17.6%
G 185 of 375 ~ 49.33%
B 124 of 375 ~ 33.07%
#42B97C color CMYK value is (64,0,33,27).
CMYK: (64,0,33,27) C64M0Y33K27 (64%,0%,33%,27%) (0.64/0.00/0.33/0.27)
42 | B9 | 7C | |
---|---|---|---|
RGB | 66 | 185 | 124 |
HSL | 149° | 47.41% | 49.22% |
HSB/HSV | 149° | 64.32% | 72.55% |
CMYK | 64.32% | 0.00% | 32.97% |
27.45% |
HEX | 42 | B9 | 7C |
Decimal | 66 | 185 | 124 |
Binary | 1000010 | 10111001 | 1111100 |
Octal | 102 | 271 | 174 |
Examples of css and html codes for elements with #42B97C color. Also use rgb(66,185,124) instead hex code.
.myTextColor { color: #42B97C; }
<p style="color:#42B97C">This sample text font color is #42B97C.</p>
This text font color is #42B97C.
.myBgColor { background-color: #42B97C; }
<div style="background-color:#42B97C">Inner text</div>
This div background color is #42B97C.
.myBorderColor { border: 1px solid #42B97C; }
<div style="border:3px solid #42B97C">Div</div>
This div border color is #42B97C.
.myOpacity80 { color: #42B97C; opacity: 0.8; }
<p style="color:#42B97C;opacity:0.8;">80%</p>
Text with #42B97C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42B97C;}
<p style="text-shadow: 3px 3px 1px #42B97C">Text here.</p>
This text has shadow with #42B97C color.
.textShadow {text-shadow: 3px 3px 1px #42B97C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42B97C, 5px 5px 20px red">Text here.</p>
This text has shadow with #42B97C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42B97C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42B97C, Direction=45, Strength=4)">Text</p>
This text has shadow with #42B97C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42B97C; -webkit-box-shadow: 1px 1px 3px 2px #42B97C; box-shadow: 1px 1px 3px 2px #42B97C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42B97C; -webkit-box-shadow: 1px 1px 3px 2px #42B97C; box-shadow:1px 1px 3px 2px #42B97C;">
Div content here</div>
This text has color #42B97C on black background.
This text has color #42B97C on white background.
This text has black color on #42B97C background.
This text has white color on #42B97C background.