HEX: #424272
RGB: (66,66,114)
#424272 contains red, green and blue colors in about the same proportion. Web safe color of #424272 is #333366 (or #336).
#424272 color RGB value is (66,66,114).
RGB: (66,66,114) (26%,26%,45%)
R 66 of 255 = 26%
G 66 of 255 = 26%
B 114 of 255 = 45%
R + G + B ~ 32%. #424272 is quite dark color.
R + G + B =
66 + 66 + 114 = 246 (100%)
R 66 of 246 ~ 26.83%
G 66 of 246 ~ 26.83%
B 114 of 246 ~ 46.34%
#424272 color CMYK value is (42,42,0,55).
CMYK: (42,42,0,55) C42M42Y0K55 (42%,42%,0%,55%) (0.42/0.42/0.00/0.55)
42 | 42 | 72 | |
---|---|---|---|
RGB | 66 | 66 | 114 |
HSL | 240° | 26.67% | 35.29% |
HSB/HSV | 240° | 42.11% | 44.71% |
CMYK | 42.11% | 42.11% | 0.00% |
55.29% |
HEX | 42 | 42 | 72 |
Decimal | 66 | 66 | 114 |
Binary | 1000010 | 1000010 | 1110010 |
Octal | 102 | 102 | 162 |
Examples of css and html codes for elements with #424272 color. Also use rgb(66,66,114) instead hex code.
.myTextColor { color: #424272; }
<p style="color:#424272">This sample text font color is #424272.</p>
This text font color is #424272.
.myBgColor { background-color: #424272; }
<div style="background-color:#424272">Inner text</div>
This div background color is #424272.
.myBorderColor { border: 1px solid #424272; }
<div style="border:3px solid #424272">Div</div>
This div border color is #424272.
.myOpacity80 { color: #424272; opacity: 0.8; }
<p style="color:#424272;opacity:0.8;">80%</p>
Text with #424272 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #424272;}
<p style="text-shadow: 3px 3px 1px #424272">Text here.</p>
This text has shadow with #424272 color.
.textShadow {text-shadow: 3px 3px 1px #424272, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #424272, 5px 5px 20px red">Text here.</p>
This text has shadow with #424272 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#424272, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#424272, Direction=45, Strength=4)">Text</p>
This text has shadow with #424272 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #424272; -webkit-box-shadow: 1px 1px 3px 2px #424272; box-shadow: 1px 1px 3px 2px #424272; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #424272; -webkit-box-shadow: 1px 1px 3px 2px #424272; box-shadow:1px 1px 3px 2px #424272;">
Div content here</div>
This text has color #424272 on black background.
This text has color #424272 on white background.
This text has black color on #424272 background.
This text has white color on #424272 background.