HEX: #040606
RGB: (4,6,6)
#040606 contains red, green and blue colors in about the same proportion. Web safe color of #040606 is #000000 (or #000).
#040606 color RGB value is (4,6,6).
RGB: (4,6,6) (2%,2%,2%)
R 4 of 255 = 2%
G 6 of 255 = 2%
B 6 of 255 = 2%
R + G + B ~ 2%. #040606 is dark color.
R + G + B =
4 + 6 + 6 = 16 (100%)
R 4 of 16 ~ 25%
G 6 of 16 ~ 37.5%
B 6 of 16 ~ 37.5%
#040606 color CMYK value is (33,0,0,98).
CMYK: (33,0,0,98) C33M0Y0K98 (33%,0%,0%,98%) (0.33/0.00/0.00/0.98)
04 | 06 | 06 | |
---|---|---|---|
RGB | 4 | 6 | 6 |
HSL | 180° | 20.00% | 1.96% |
HSB/HSV | 180° | 33.33% | 2.35% |
CMYK | 33.33% | 0.00% | 0.00% |
97.65% |
HEX | 04 | 06 | 06 |
Decimal | 4 | 6 | 6 |
Binary | 100 | 110 | 110 |
Octal | 4 | 6 | 6 |
Examples of css and html codes for elements with #040606 color. Also use rgb(4,6,6) instead hex code.
.myTextColor { color: #040606; }
<p style="color:#040606">This sample text font color is #040606.</p>
This text font color is #040606.
.myBgColor { background-color: #040606; }
<div style="background-color:#040606">Inner text</div>
This div background color is #040606.
.myBorderColor { border: 1px solid #040606; }
<div style="border:3px solid #040606">Div</div>
This div border color is #040606.
.myOpacity80 { color: #040606; opacity: 0.8; }
<p style="color:#040606;opacity:0.8;">80%</p>
Text with #040606 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #040606;}
<p style="text-shadow: 3px 3px 1px #040606">Text here.</p>
This text has shadow with #040606 color.
.textShadow {text-shadow: 3px 3px 1px #040606, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #040606, 5px 5px 20px red">Text here.</p>
This text has shadow with #040606 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040606, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#040606, Direction=45, Strength=4)">Text</p>
This text has shadow with #040606 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040606; -webkit-box-shadow: 1px 1px 3px 2px #040606; box-shadow: 1px 1px 3px 2px #040606; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #040606; -webkit-box-shadow: 1px 1px 3px 2px #040606; box-shadow:1px 1px 3px 2px #040606;">
Div content here</div>
This text has color #040606 on black background.
This text has color #040606 on white background.
This text has black color on #040606 background.
This text has white color on #040606 background.