HEX: #428942
RGB: (66,137,66)
#428942 contains mainly green color. Web safe color of #428942 is #339933 (or #393).
#428942 color RGB value is (66,137,66).
RGB: (66,137,66)
(26%, 54%, 26%)
R 66 of 255 = 26%
G 137 of 255 = 54%
B 66 of 255 = 26%
R + G + B ~ 35%. #428942 is quite dark color.
R + G + B = 66 + 137 + 66 = 269 (100%)
R 66 of 269 ~ 24.54%
G 137 of 269 ~ 50.93%
B 66 of 269 ~ 24.54'%
#428942 color CMYK value is (52,0,52,46).
CMYK: (52,0,52,46) C52M0Y52K46 (52%,0%,52%,46%) (0.52/0.00/0.52/0.46)
Color #428942 in popluar color models
42 | 89 | 42 | |
---|---|---|---|
RGB | 66 | 137 | 66 |
HSL | 120° | 34.98% | 39.80% |
HSB/HSV | 120° | 51.82% | 53.73% |
CMYK | 51.82% | 0.00% | 51.82% |
46.27% |
Color #428942 in popluar number systems.
HEX | 42 | 89 | 42 |
Decimal | 66 | 137 | 66 |
Binary | 1000010 | 10001001 | 1000010 |
Octal | 102 | 211 | 102 |
Shades of #428942
Tints of #428942
Examples of css and html codes for elements with #428942 color. Also use rgb(66,137,66) instead hex code.
.myTextColor { color: #428942; }
<p style="color:#428942">This sample text font color is #428942.</p>
This text font color is #428942.
.myBgColor { background-color: #428942; }
<div style="background-color:#428942">Inner text</div>
This div background color is #428942.
.myBorderColor { border: 1px solid #428942; }
<div style="border:3px solid #428942">Div</div>
This div border color is #428942.
.myOpacity80 { color: #428942; opacity: 0.8; }
<p style="color:#428942;opacity:0.8;">80%</p>
Text with #428942 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #428942;}
<p style="text-shadow: 3px 3px 1px #428942">Text here.</p>
This text has shadow with #428942 color.
.textShadow {text-shadow: 3px 3px 1px #428942', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #428942, 5px 5px 20px red">Text here.</p>
This text has shadow with #428942 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#428942, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#428942, Direction=45, Strength=4)">Text</p>
This text has shadow with #428942 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #428942;
-webkit-box-shadow: 1px 1px 3px 2px #428942;
box-shadow: 1px 1px 3px 2px #428942;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #428942; -webkit-box-shadow: 1px 1px 3px 2px #428942; box-shadow:1px 1px 3px 2px #428942;">
Div content here
</div>
This text has color #428942 on black background.
This text has color #428942 on white background.
This text has black color on #428942 background.
This text has white color on #428942 background.
Complementary color for #hex is #BD76BD.