HEX: #960406
RGB: (150,4,6)
#960406 contains mainly red color. Web safe color of #960406 is #990000 (or #900).
#960406 color RGB value is (150,4,6).
RGB: (150,4,6) (59%,2%,2%)
R 150 of 255 = 59%
G 4 of 255 = 2%
B 6 of 255 = 2%
R + G + B ~ 21%. #960406 is dark color.
R + G + B =
150 + 4 + 6 = 160 (100%)
R 150 of 160 ~ 93.75%
G 4 of 160 ~ 2.5%
B 6 of 160 ~ 3.75%
#960406 color CMYK value is (0,97,96,41).
CMYK: (0,97,96,41) C0M97Y96K41 (0%,97%,96%,41%) (0.00/0.97/0.96/0.41)
96 | 04 | 06 | |
---|---|---|---|
RGB | 150 | 4 | 6 |
HSL | 359° | 94.81% | 30.20% |
HSB/HSV | 359° | 97.33% | 58.82% |
CMYK | 0.00% | 97.33% | 96.00% |
41.18% |
HEX | 96 | 04 | 06 |
Decimal | 150 | 4 | 6 |
Binary | 10010110 | 100 | 110 |
Octal | 226 | 4 | 6 |
Examples of css and html codes for elements with #960406 color. Also use rgb(150,4,6) instead hex code.
.myTextColor { color: #960406; }
<p style="color:#960406">This sample text font color is #960406.</p>
This text font color is #960406.
.myBgColor { background-color: #960406; }
<div style="background-color:#960406">Inner text</div>
This div background color is #960406.
.myBorderColor { border: 1px solid #960406; }
<div style="border:3px solid #960406">Div</div>
This div border color is #960406.
.myOpacity80 { color: #960406; opacity: 0.8; }
<p style="color:#960406;opacity:0.8;">80%</p>
Text with #960406 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #960406;}
<p style="text-shadow: 3px 3px 1px #960406">Text here.</p>
This text has shadow with #960406 color.
.textShadow {text-shadow: 3px 3px 1px #960406, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #960406, 5px 5px 20px red">Text here.</p>
This text has shadow with #960406 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#960406, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#960406, Direction=45, Strength=4)">Text</p>
This text has shadow with #960406 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #960406; -webkit-box-shadow: 1px 1px 3px 2px #960406; box-shadow: 1px 1px 3px 2px #960406; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #960406; -webkit-box-shadow: 1px 1px 3px 2px #960406; box-shadow:1px 1px 3px 2px #960406;">
Div content here</div>
This text has color #960406 on black background.
This text has color #960406 on white background.
This text has black color on #960406 background.
This text has white color on #960406 background.