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