HEX: #040900
RGB: (4,9,0)
#040900 contains only red and green colors. Web safe color of #040900 is #000000 (or #000).
#040900 color RGB value is (4,9,0).
RGB: (4,9,0) (2%,4%,0%)
R 4 of 255 = 2%
G 9 of 255 = 4%
B 0 of 255 = 0%
R + G + B ~ 2%. #040900 is dark color.
R + G + B =
4 + 9 + 0 = 13 (100%)
R 4 of 13 ~ 30.77%
G 9 of 13 ~ 69.23%
B 0 of 13 ~ 0%
#040900 color CMYK value is (56,0,100,96).
CMYK: (56,0,100,96) C56M0Y100K96 (56%,0%,100%,96%) (0.56/0.00/1.00/0.96)
04 | 09 | 00 | |
---|---|---|---|
RGB | 4 | 9 | 0 |
HSL | 93° | 100.00% | 1.76% |
HSB/HSV | 93° | 100.00% | 3.53% |
CMYK | 55.56% | 0.00% | 100.00% |
96.47% |
HEX | 04 | 09 | 00 |
Decimal | 4 | 9 | 0 |
Binary | 100 | 1001 | 0 |
Octal | 4 | 11 | 0 |
Examples of css and html codes for elements with #040900 color. Also use rgb(4,9,0) instead hex code.
.myTextColor { color: #040900; }
<p style="color:#040900">This sample text font color is #040900.</p>
This text font color is #040900.
.myBgColor { background-color: #040900; }
<div style="background-color:#040900">Inner text</div>
This div background color is #040900.
.myBorderColor { border: 1px solid #040900; }
<div style="border:3px solid #040900">Div</div>
This div border color is #040900.
.myOpacity80 { color: #040900; opacity: 0.8; }
<p style="color:#040900;opacity:0.8;">80%</p>
Text with #040900 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #040900;}
<p style="text-shadow: 3px 3px 1px #040900">Text here.</p>
This text has shadow with #040900 color.
.textShadow {text-shadow: 3px 3px 1px #040900, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #040900, 5px 5px 20px red">Text here.</p>
This text has shadow with #040900 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040900, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#040900, Direction=45, Strength=4)">Text</p>
This text has shadow with #040900 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040900; -webkit-box-shadow: 1px 1px 3px 2px #040900; box-shadow: 1px 1px 3px 2px #040900; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #040900; -webkit-box-shadow: 1px 1px 3px 2px #040900; box-shadow:1px 1px 3px 2px #040900;">
Div content here</div>
This text has color #040900 on black background.
This text has color #040900 on white background.
This text has black color on #040900 background.
This text has white color on #040900 background.