HEX: #42B75D
RGB: (66,183,93)
#42B75D contains mainly green color. Web safe color of #42B75D is #33CC66 (or #3C6).
#42B75D color RGB value is (66,183,93).
RGB: (66,183,93) (26%,72%,36%)
R 66 of 255 = 26%
G 183 of 255 = 72%
B 93 of 255 = 36%
R + G + B ~ 45%. #42B75D is middle color (not dark and not light).
R + G + B =
66 + 183 + 93 = 342 (100%)
R 66 of 342 ~ 19.3%
G 183 of 342 ~ 53.51%
B 93 of 342 ~ 27.19%
#42B75D color CMYK value is (64,0,49,28).
CMYK: (64,0,49,28) C64M0Y49K28 (64%,0%,49%,28%) (0.64/0.00/0.49/0.28)
42 | B7 | 5D | |
---|---|---|---|
RGB | 66 | 183 | 93 |
HSL | 134° | 46.99% | 48.82% |
HSB/HSV | 134° | 63.93% | 71.76% |
CMYK | 63.93% | 0.00% | 49.18% |
28.24% |
HEX | 42 | B7 | 5D |
Decimal | 66 | 183 | 93 |
Binary | 1000010 | 10110111 | 1011101 |
Octal | 102 | 267 | 135 |
Examples of css and html codes for elements with #42B75D color. Also use rgb(66,183,93) instead hex code.
.myTextColor { color: #42B75D; }
<p style="color:#42B75D">This sample text font color is #42B75D.</p>
This text font color is #42B75D.
.myBgColor { background-color: #42B75D; }
<div style="background-color:#42B75D">Inner text</div>
This div background color is #42B75D.
.myBorderColor { border: 1px solid #42B75D; }
<div style="border:3px solid #42B75D">Div</div>
This div border color is #42B75D.
.myOpacity80 { color: #42B75D; opacity: 0.8; }
<p style="color:#42B75D;opacity:0.8;">80%</p>
Text with #42B75D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42B75D;}
<p style="text-shadow: 3px 3px 1px #42B75D">Text here.</p>
This text has shadow with #42B75D color.
.textShadow {text-shadow: 3px 3px 1px #42B75D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42B75D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42B75D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42B75D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42B75D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42B75D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42B75D; -webkit-box-shadow: 1px 1px 3px 2px #42B75D; box-shadow: 1px 1px 3px 2px #42B75D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42B75D; -webkit-box-shadow: 1px 1px 3px 2px #42B75D; box-shadow:1px 1px 3px 2px #42B75D;">
Div content here</div>
This text has color #42B75D on black background.
This text has color #42B75D on white background.
This text has black color on #42B75D background.
This text has white color on #42B75D background.