HEX: #42B65F
RGB: (66,182,95)
#42B65F contains mainly green color. Web safe color of #42B65F is #33CC66 (or #3C6).
#42B65F color RGB value is (66,182,95).
RGB: (66,182,95) (26%,71%,37%)
R 66 of 255 = 26%
G 182 of 255 = 71%
B 95 of 255 = 37%
R + G + B ~ 45%. #42B65F is middle color (not dark and not light).
R + G + B =
66 + 182 + 95 = 343 (100%)
R 66 of 343 ~ 19.24%
G 182 of 343 ~ 53.06%
B 95 of 343 ~ 27.7%
#42B65F color CMYK value is (64,0,48,29).
CMYK: (64,0,48,29) C64M0Y48K29 (64%,0%,48%,29%) (0.64/0.00/0.48/0.29)
42 | B6 | 5F | |
---|---|---|---|
RGB | 66 | 182 | 95 |
HSL | 135° | 46.77% | 48.63% |
HSB/HSV | 135° | 63.74% | 71.37% |
CMYK | 63.74% | 0.00% | 47.80% |
28.63% |
HEX | 42 | B6 | 5F |
Decimal | 66 | 182 | 95 |
Binary | 1000010 | 10110110 | 1011111 |
Octal | 102 | 266 | 137 |
Examples of css and html codes for elements with #42B65F color. Also use rgb(66,182,95) instead hex code.
.myTextColor { color: #42B65F; }
<p style="color:#42B65F">This sample text font color is #42B65F.</p>
This text font color is #42B65F.
.myBgColor { background-color: #42B65F; }
<div style="background-color:#42B65F">Inner text</div>
This div background color is #42B65F.
.myBorderColor { border: 1px solid #42B65F; }
<div style="border:3px solid #42B65F">Div</div>
This div border color is #42B65F.
.myOpacity80 { color: #42B65F; opacity: 0.8; }
<p style="color:#42B65F;opacity:0.8;">80%</p>
Text with #42B65F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42B65F;}
<p style="text-shadow: 3px 3px 1px #42B65F">Text here.</p>
This text has shadow with #42B65F color.
.textShadow {text-shadow: 3px 3px 1px #42B65F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42B65F, 5px 5px 20px red">Text here.</p>
This text has shadow with #42B65F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42B65F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42B65F, Direction=45, Strength=4)">Text</p>
This text has shadow with #42B65F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42B65F; -webkit-box-shadow: 1px 1px 3px 2px #42B65F; box-shadow: 1px 1px 3px 2px #42B65F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42B65F; -webkit-box-shadow: 1px 1px 3px 2px #42B65F; box-shadow:1px 1px 3px 2px #42B65F;">
Div content here</div>
This text has color #42B65F on black background.
This text has color #42B65F on white background.
This text has black color on #42B65F background.
This text has white color on #42B65F background.