HEX: #427642
RGB: (66,118,66)
#427642 contains red, green and blue colors in about the same proportion. Web safe color of #427642 is #336633 (or #363).
#427642 color RGB value is (66,118,66).
RGB: (66,118,66) (26%,46%,26%)
R 66 of 255 = 26%
G 118 of 255 = 46%
B 66 of 255 = 26%
R + G + B ~ 33%. #427642 is quite dark color.
R + G + B =
66 + 118 + 66 = 250 (100%)
R 66 of 250 ~ 26.4%
G 118 of 250 ~ 47.2%
B 66 of 250 ~ 26.4%
#427642 color CMYK value is (44,0,44,54).
CMYK: (44,0,44,54) C44M0Y44K54 (44%,0%,44%,54%) (0.44/0.00/0.44/0.54)
42 | 76 | 42 | |
---|---|---|---|
RGB | 66 | 118 | 66 |
HSL | 120° | 28.26% | 36.08% |
HSB/HSV | 120° | 44.07% | 46.27% |
CMYK | 44.07% | 0.00% | 44.07% |
53.73% |
HEX | 42 | 76 | 42 |
Decimal | 66 | 118 | 66 |
Binary | 1000010 | 1110110 | 1000010 |
Octal | 102 | 166 | 102 |
Examples of css and html codes for elements with #427642 color. Also use rgb(66,118,66) instead hex code.
.myTextColor { color: #427642; }
<p style="color:#427642">This sample text font color is #427642.</p>
This text font color is #427642.
.myBgColor { background-color: #427642; }
<div style="background-color:#427642">Inner text</div>
This div background color is #427642.
.myBorderColor { border: 1px solid #427642; }
<div style="border:3px solid #427642">Div</div>
This div border color is #427642.
.myOpacity80 { color: #427642; opacity: 0.8; }
<p style="color:#427642;opacity:0.8;">80%</p>
Text with #427642 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #427642;}
<p style="text-shadow: 3px 3px 1px #427642">Text here.</p>
This text has shadow with #427642 color.
.textShadow {text-shadow: 3px 3px 1px #427642, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #427642, 5px 5px 20px red">Text here.</p>
This text has shadow with #427642 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#427642, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#427642, Direction=45, Strength=4)">Text</p>
This text has shadow with #427642 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #427642; -webkit-box-shadow: 1px 1px 3px 2px #427642; box-shadow: 1px 1px 3px 2px #427642; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #427642; -webkit-box-shadow: 1px 1px 3px 2px #427642; box-shadow:1px 1px 3px 2px #427642;">
Div content here</div>
This text has color #427642 on black background.
This text has color #427642 on white background.
This text has black color on #427642 background.
This text has white color on #427642 background.