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