HEX: #428421
RGB: (66,132,33)
#428421 contains mainly green color. Web safe color of #428421 is #339933 (or #393).
#428421 color RGB value is (66,132,33).
RGB: (66,132,33) (26%,52%,13%)
R 66 of 255 = 26%
G 132 of 255 = 52%
B 33 of 255 = 13%
R + G + B ~ 30%. #428421 is quite dark color.
R + G + B =
66 + 132 + 33 = 231 (100%)
R 66 of 231 ~ 28.57%
G 132 of 231 ~ 57.14%
B 33 of 231 ~ 14.29%
#428421 color CMYK value is (50,0,75,48).
CMYK: (50,0,75,48) C50M0Y75K48 (50%,0%,75%,48%) (0.50/0.00/0.75/0.48)
42 | 84 | 21 | |
---|---|---|---|
RGB | 66 | 132 | 33 |
HSL | 100° | 60.00% | 32.35% |
HSB/HSV | 100° | 75.00% | 51.76% |
CMYK | 50.00% | 0.00% | 75.00% |
48.24% |
HEX | 42 | 84 | 21 |
Decimal | 66 | 132 | 33 |
Binary | 1000010 | 10000100 | 100001 |
Octal | 102 | 204 | 41 |
Examples of css and html codes for elements with #428421 color. Also use rgb(66,132,33) instead hex code.
.myTextColor { color: #428421; }
<p style="color:#428421">This sample text font color is #428421.</p>
This text font color is #428421.
.myBgColor { background-color: #428421; }
<div style="background-color:#428421">Inner text</div>
This div background color is #428421.
.myBorderColor { border: 1px solid #428421; }
<div style="border:3px solid #428421">Div</div>
This div border color is #428421.
.myOpacity80 { color: #428421; opacity: 0.8; }
<p style="color:#428421;opacity:0.8;">80%</p>
Text with #428421 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #428421;}
<p style="text-shadow: 3px 3px 1px #428421">Text here.</p>
This text has shadow with #428421 color.
.textShadow {text-shadow: 3px 3px 1px #428421, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #428421, 5px 5px 20px red">Text here.</p>
This text has shadow with #428421 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#428421, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#428421, Direction=45, Strength=4)">Text</p>
This text has shadow with #428421 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #428421; -webkit-box-shadow: 1px 1px 3px 2px #428421; box-shadow: 1px 1px 3px 2px #428421; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #428421; -webkit-box-shadow: 1px 1px 3px 2px #428421; box-shadow:1px 1px 3px 2px #428421;">
Div content here</div>
This text has color #428421 on black background.
This text has color #428421 on white background.
This text has black color on #428421 background.
This text has white color on #428421 background.