HEX: #420506
RGB: (66,5,6)
#420506 contains mainly red color. Web safe color of #420506 is #330000 (or #300).
#420506 color RGB value is (66,5,6).
RGB: (66,5,6) (26%,2%,2%)
R 66 of 255 = 26%
G 5 of 255 = 2%
B 6 of 255 = 2%
R + G + B ~ 10%. #420506 is dark color.
R + G + B =
66 + 5 + 6 = 77 (100%)
R 66 of 77 ~ 85.71%
G 5 of 77 ~ 6.49%
B 6 of 77 ~ 7.79%
#420506 color CMYK value is (0,92,91,74).
CMYK: (0,92,91,74) C0M92Y91K74 (0%,92%,91%,74%) (0.00/0.92/0.91/0.74)
42 | 05 | 06 | |
---|---|---|---|
RGB | 66 | 5 | 6 |
HSL | 359° | 85.92% | 13.92% |
HSB/HSV | 359° | 92.42% | 25.88% |
CMYK | 0.00% | 92.42% | 90.91% |
74.12% |
HEX | 42 | 05 | 06 |
Decimal | 66 | 5 | 6 |
Binary | 1000010 | 101 | 110 |
Octal | 102 | 5 | 6 |
Examples of css and html codes for elements with #420506 color. Also use rgb(66,5,6) instead hex code.
.myTextColor { color: #420506; }
<p style="color:#420506">This sample text font color is #420506.</p>
This text font color is #420506.
.myBgColor { background-color: #420506; }
<div style="background-color:#420506">Inner text</div>
This div background color is #420506.
.myBorderColor { border: 1px solid #420506; }
<div style="border:3px solid #420506">Div</div>
This div border color is #420506.
.myOpacity80 { color: #420506; opacity: 0.8; }
<p style="color:#420506;opacity:0.8;">80%</p>
Text with #420506 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #420506;}
<p style="text-shadow: 3px 3px 1px #420506">Text here.</p>
This text has shadow with #420506 color.
.textShadow {text-shadow: 3px 3px 1px #420506, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #420506, 5px 5px 20px red">Text here.</p>
This text has shadow with #420506 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#420506, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#420506, Direction=45, Strength=4)">Text</p>
This text has shadow with #420506 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #420506; -webkit-box-shadow: 1px 1px 3px 2px #420506; box-shadow: 1px 1px 3px 2px #420506; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #420506; -webkit-box-shadow: 1px 1px 3px 2px #420506; box-shadow:1px 1px 3px 2px #420506;">
Div content here</div>
This text has color #420506 on black background.
This text has color #420506 on white background.
This text has black color on #420506 background.
This text has white color on #420506 background.