HEX: #42B03E
RGB: (66,176,62)
#42B03E contains mainly green color. Web safe color of #42B03E is #339933 (or #393).
#42B03E color RGB value is (66,176,62).
RGB: (66,176,62) (26%,69%,24%)
R 66 of 255 = 26%
G 176 of 255 = 69%
B 62 of 255 = 24%
R + G + B ~ 40%. #42B03E is middle color (not dark and not light).
R + G + B =
66 + 176 + 62 = 304 (100%)
R 66 of 304 ~ 21.71%
G 176 of 304 ~ 57.89%
B 62 of 304 ~ 20.39%
#42B03E color CMYK value is (63,0,65,31).
CMYK: (63,0,65,31) C63M0Y65K31 (63%,0%,65%,31%) (0.63/0.00/0.65/0.31)
42 | B0 | 3E | |
---|---|---|---|
RGB | 66 | 176 | 62 |
HSL | 118° | 47.90% | 46.67% |
HSB/HSV | 118° | 64.77% | 69.02% |
CMYK | 62.50% | 0.00% | 64.77% |
30.98% |
HEX | 42 | B0 | 3E |
Decimal | 66 | 176 | 62 |
Binary | 1000010 | 10110000 | 111110 |
Octal | 102 | 260 | 76 |
Examples of css and html codes for elements with #42B03E color. Also use rgb(66,176,62) instead hex code.
.myTextColor { color: #42B03E; }
<p style="color:#42B03E">This sample text font color is #42B03E.</p>
This text font color is #42B03E.
.myBgColor { background-color: #42B03E; }
<div style="background-color:#42B03E">Inner text</div>
This div background color is #42B03E.
.myBorderColor { border: 1px solid #42B03E; }
<div style="border:3px solid #42B03E">Div</div>
This div border color is #42B03E.
.myOpacity80 { color: #42B03E; opacity: 0.8; }
<p style="color:#42B03E;opacity:0.8;">80%</p>
Text with #42B03E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42B03E;}
<p style="text-shadow: 3px 3px 1px #42B03E">Text here.</p>
This text has shadow with #42B03E color.
.textShadow {text-shadow: 3px 3px 1px #42B03E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42B03E, 5px 5px 20px red">Text here.</p>
This text has shadow with #42B03E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42B03E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42B03E, Direction=45, Strength=4)">Text</p>
This text has shadow with #42B03E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42B03E; -webkit-box-shadow: 1px 1px 3px 2px #42B03E; box-shadow: 1px 1px 3px 2px #42B03E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42B03E; -webkit-box-shadow: 1px 1px 3px 2px #42B03E; box-shadow:1px 1px 3px 2px #42B03E;">
Div content here</div>
This text has color #42B03E on black background.
This text has color #42B03E on white background.
This text has black color on #42B03E background.
This text has white color on #42B03E background.