HEX: #428A4A
RGB: (66,138,74)
#428A4A contains mainly green color. Web safe color of #428A4A is #339933 (or #393).
#428A4A color RGB value is (66,138,74).
RGB: (66,138,74) (26%,54%,29%)
R 66 of 255 = 26%
G 138 of 255 = 54%
B 74 of 255 = 29%
R + G + B ~ 36%. #428A4A is quite dark color.
R + G + B =
66 + 138 + 74 = 278 (100%)
R 66 of 278 ~ 23.74%
G 138 of 278 ~ 49.64%
B 74 of 278 ~ 26.62%
#428A4A color CMYK value is (52,0,46,46).
CMYK: (52,0,46,46) C52M0Y46K46 (52%,0%,46%,46%) (0.52/0.00/0.46/0.46)
42 | 8A | 4A | |
---|---|---|---|
RGB | 66 | 138 | 74 |
HSL | 127° | 35.29% | 40.00% |
HSB/HSV | 127° | 52.17% | 54.12% |
CMYK | 52.17% | 0.00% | 46.38% |
45.88% |
HEX | 42 | 8A | 4A |
Decimal | 66 | 138 | 74 |
Binary | 1000010 | 10001010 | 1001010 |
Octal | 102 | 212 | 112 |
Examples of css and html codes for elements with #428A4A color. Also use rgb(66,138,74) instead hex code.
.myTextColor { color: #428A4A; }
<p style="color:#428A4A">This sample text font color is #428A4A.</p>
This text font color is #428A4A.
.myBgColor { background-color: #428A4A; }
<div style="background-color:#428A4A">Inner text</div>
This div background color is #428A4A.
.myBorderColor { border: 1px solid #428A4A; }
<div style="border:3px solid #428A4A">Div</div>
This div border color is #428A4A.
.myOpacity80 { color: #428A4A; opacity: 0.8; }
<p style="color:#428A4A;opacity:0.8;">80%</p>
Text with #428A4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #428A4A;}
<p style="text-shadow: 3px 3px 1px #428A4A">Text here.</p>
This text has shadow with #428A4A color.
.textShadow {text-shadow: 3px 3px 1px #428A4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #428A4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #428A4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#428A4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#428A4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #428A4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #428A4A; -webkit-box-shadow: 1px 1px 3px 2px #428A4A; box-shadow: 1px 1px 3px 2px #428A4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #428A4A; -webkit-box-shadow: 1px 1px 3px 2px #428A4A; box-shadow:1px 1px 3px 2px #428A4A;">
Div content here</div>
This text has color #428A4A on black background.
This text has color #428A4A on white background.
This text has black color on #428A4A background.
This text has white color on #428A4A background.