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