HEX: #427872
RGB: (66,120,114)
#427872 contains red, green and blue colors in about the same proportion. Web safe color of #427872 is #336666 (or #366).
#427872 color RGB value is (66,120,114).
RGB: (66,120,114) (26%,47%,45%)
R 66 of 255 = 26%
G 120 of 255 = 47%
B 114 of 255 = 45%
R + G + B ~ 39%. #427872 is quite dark color.
R + G + B =
66 + 120 + 114 = 300 (100%)
R 66 of 300 ~ 22%
G 120 of 300 ~ 40%
B 114 of 300 ~ 38%
#427872 color CMYK value is (45,0,5,53).
CMYK: (45,0,5,53) C45M0Y5K53 (45%,0%,5%,53%) (0.45/0.00/0.05/0.53)
42 | 78 | 72 | |
---|---|---|---|
RGB | 66 | 120 | 114 |
HSL | 173° | 29.03% | 36.47% |
HSB/HSV | 173° | 45.00% | 47.06% |
CMYK | 45.00% | 0.00% | 5.00% |
52.94% |
HEX | 42 | 78 | 72 |
Decimal | 66 | 120 | 114 |
Binary | 1000010 | 1111000 | 1110010 |
Octal | 102 | 170 | 162 |
Examples of css and html codes for elements with #427872 color. Also use rgb(66,120,114) instead hex code.
.myTextColor { color: #427872; }
<p style="color:#427872">This sample text font color is #427872.</p>
This text font color is #427872.
.myBgColor { background-color: #427872; }
<div style="background-color:#427872">Inner text</div>
This div background color is #427872.
.myBorderColor { border: 1px solid #427872; }
<div style="border:3px solid #427872">Div</div>
This div border color is #427872.
.myOpacity80 { color: #427872; opacity: 0.8; }
<p style="color:#427872;opacity:0.8;">80%</p>
Text with #427872 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #427872;}
<p style="text-shadow: 3px 3px 1px #427872">Text here.</p>
This text has shadow with #427872 color.
.textShadow {text-shadow: 3px 3px 1px #427872, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #427872, 5px 5px 20px red">Text here.</p>
This text has shadow with #427872 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#427872, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#427872, Direction=45, Strength=4)">Text</p>
This text has shadow with #427872 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #427872; -webkit-box-shadow: 1px 1px 3px 2px #427872; box-shadow: 1px 1px 3px 2px #427872; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #427872; -webkit-box-shadow: 1px 1px 3px 2px #427872; box-shadow:1px 1px 3px 2px #427872;">
Div content here</div>
This text has color #427872 on black background.
This text has color #427872 on white background.
This text has black color on #427872 background.
This text has white color on #427872 background.