HEX: #428B24
RGB: (66,139,36)
#428B24 contains mainly green color. Web safe color of #428B24 is #339933 (or #393).
#428B24 color RGB value is (66,139,36).
RGB: (66,139,36) (26%,55%,14%)
R 66 of 255 = 26%
G 139 of 255 = 55%
B 36 of 255 = 14%
R + G + B ~ 32%. #428B24 is quite dark color.
R + G + B =
66 + 139 + 36 = 241 (100%)
R 66 of 241 ~ 27.39%
G 139 of 241 ~ 57.68%
B 36 of 241 ~ 14.94%
#428B24 color CMYK value is (53,0,74,45).
CMYK: (53,0,74,45) C53M0Y74K45 (53%,0%,74%,45%) (0.53/0.00/0.74/0.45)
42 | 8B | 24 | |
---|---|---|---|
RGB | 66 | 139 | 36 |
HSL | 103° | 58.86% | 34.31% |
HSB/HSV | 103° | 74.10% | 54.51% |
CMYK | 52.52% | 0.00% | 74.10% |
45.49% |
HEX | 42 | 8B | 24 |
Decimal | 66 | 139 | 36 |
Binary | 1000010 | 10001011 | 100100 |
Octal | 102 | 213 | 44 |
Examples of css and html codes for elements with #428B24 color. Also use rgb(66,139,36) instead hex code.
.myTextColor { color: #428B24; }
<p style="color:#428B24">This sample text font color is #428B24.</p>
This text font color is #428B24.
.myBgColor { background-color: #428B24; }
<div style="background-color:#428B24">Inner text</div>
This div background color is #428B24.
.myBorderColor { border: 1px solid #428B24; }
<div style="border:3px solid #428B24">Div</div>
This div border color is #428B24.
.myOpacity80 { color: #428B24; opacity: 0.8; }
<p style="color:#428B24;opacity:0.8;">80%</p>
Text with #428B24 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #428B24;}
<p style="text-shadow: 3px 3px 1px #428B24">Text here.</p>
This text has shadow with #428B24 color.
.textShadow {text-shadow: 3px 3px 1px #428B24, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #428B24, 5px 5px 20px red">Text here.</p>
This text has shadow with #428B24 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#428B24, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#428B24, Direction=45, Strength=4)">Text</p>
This text has shadow with #428B24 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #428B24; -webkit-box-shadow: 1px 1px 3px 2px #428B24; box-shadow: 1px 1px 3px 2px #428B24; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #428B24; -webkit-box-shadow: 1px 1px 3px 2px #428B24; box-shadow:1px 1px 3px 2px #428B24;">
Div content here</div>
This text has color #428B24 on black background.
This text has color #428B24 on white background.
This text has black color on #428B24 background.
This text has white color on #428B24 background.