HEX: #427F48
RGB: (66,127,72)
#427F48 contains mainly green and blue colors. Web safe color of #427F48 is #336633 (or #363).
#427F48 color RGB value is (66,127,72).
RGB: (66,127,72) (26%,50%,28%)
R 66 of 255 = 26%
G 127 of 255 = 50%
B 72 of 255 = 28%
R + G + B ~ 35%. #427F48 is quite dark color.
R + G + B =
66 + 127 + 72 = 265 (100%)
R 66 of 265 ~ 24.91%
G 127 of 265 ~ 47.92%
B 72 of 265 ~ 27.17%
#427F48 color CMYK value is (48,0,43,50).
CMYK: (48,0,43,50) C48M0Y43K50 (48%,0%,43%,50%) (0.48/0.00/0.43/0.50)
42 | 7F | 48 | |
---|---|---|---|
RGB | 66 | 127 | 72 |
HSL | 126° | 31.61% | 37.84% |
HSB/HSV | 126° | 48.03% | 49.80% |
CMYK | 48.03% | 0.00% | 43.31% |
50.20% |
HEX | 42 | 7F | 48 |
Decimal | 66 | 127 | 72 |
Binary | 1000010 | 1111111 | 1001000 |
Octal | 102 | 177 | 110 |
Examples of css and html codes for elements with #427F48 color. Also use rgb(66,127,72) instead hex code.
.myTextColor { color: #427F48; }
<p style="color:#427F48">This sample text font color is #427F48.</p>
This text font color is #427F48.
.myBgColor { background-color: #427F48; }
<div style="background-color:#427F48">Inner text</div>
This div background color is #427F48.
.myBorderColor { border: 1px solid #427F48; }
<div style="border:3px solid #427F48">Div</div>
This div border color is #427F48.
.myOpacity80 { color: #427F48; opacity: 0.8; }
<p style="color:#427F48;opacity:0.8;">80%</p>
Text with #427F48 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #427F48;}
<p style="text-shadow: 3px 3px 1px #427F48">Text here.</p>
This text has shadow with #427F48 color.
.textShadow {text-shadow: 3px 3px 1px #427F48, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #427F48, 5px 5px 20px red">Text here.</p>
This text has shadow with #427F48 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#427F48, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#427F48, Direction=45, Strength=4)">Text</p>
This text has shadow with #427F48 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #427F48; -webkit-box-shadow: 1px 1px 3px 2px #427F48; box-shadow: 1px 1px 3px 2px #427F48; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #427F48; -webkit-box-shadow: 1px 1px 3px 2px #427F48; box-shadow:1px 1px 3px 2px #427F48;">
Div content here</div>
This text has color #427F48 on black background.
This text has color #427F48 on white background.
This text has black color on #427F48 background.
This text has white color on #427F48 background.