HEX: #427516
RGB: (66,117,22)
#427516 contains mainly red and green colors. Web safe color of #427516 is #336600 (or #360).
#427516 color RGB value is (66,117,22).
RGB: (66,117,22) (26%,46%,9%)
R 66 of 255 = 26%
G 117 of 255 = 46%
B 22 of 255 = 9%
R + G + B ~ 27%. #427516 is quite dark color.
R + G + B =
66 + 117 + 22 = 205 (100%)
R 66 of 205 ~ 32.2%
G 117 of 205 ~ 57.07%
B 22 of 205 ~ 10.73%
#427516 color CMYK value is (44,0,81,54).
CMYK: (44,0,81,54) C44M0Y81K54 (44%,0%,81%,54%) (0.44/0.00/0.81/0.54)
42 | 75 | 16 | |
---|---|---|---|
RGB | 66 | 117 | 22 |
HSL | 92° | 68.35% | 27.25% |
HSB/HSV | 92° | 81.20% | 45.88% |
CMYK | 43.59% | 0.00% | 81.20% |
54.12% |
HEX | 42 | 75 | 16 |
Decimal | 66 | 117 | 22 |
Binary | 1000010 | 1110101 | 10110 |
Octal | 102 | 165 | 26 |
Examples of css and html codes for elements with #427516 color. Also use rgb(66,117,22) instead hex code.
.myTextColor { color: #427516; }
<p style="color:#427516">This sample text font color is #427516.</p>
This text font color is #427516.
.myBgColor { background-color: #427516; }
<div style="background-color:#427516">Inner text</div>
This div background color is #427516.
.myBorderColor { border: 1px solid #427516; }
<div style="border:3px solid #427516">Div</div>
This div border color is #427516.
.myOpacity80 { color: #427516; opacity: 0.8; }
<p style="color:#427516;opacity:0.8;">80%</p>
Text with #427516 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #427516;}
<p style="text-shadow: 3px 3px 1px #427516">Text here.</p>
This text has shadow with #427516 color.
.textShadow {text-shadow: 3px 3px 1px #427516, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #427516, 5px 5px 20px red">Text here.</p>
This text has shadow with #427516 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#427516, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#427516, Direction=45, Strength=4)">Text</p>
This text has shadow with #427516 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #427516; -webkit-box-shadow: 1px 1px 3px 2px #427516; box-shadow: 1px 1px 3px 2px #427516; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #427516; -webkit-box-shadow: 1px 1px 3px 2px #427516; box-shadow:1px 1px 3px 2px #427516;">
Div content here</div>
This text has color #427516 on black background.
This text has color #427516 on white background.
This text has black color on #427516 background.
This text has white color on #427516 background.