HEX: #04030D
RGB: (4,3,13)
#04030D contains red, green and blue colors in about the same proportion. Web safe color of #04030D is #000000 (or #000).
#04030D color RGB value is (4,3,13).
RGB: (4,3,13) (2%,1%,5%)
R 4 of 255 = 2%
G 3 of 255 = 1%
B 13 of 255 = 5%
R + G + B ~ 3%. #04030D is dark color.
R + G + B =
4 + 3 + 13 = 20 (100%)
R 4 of 20 ~ 20%
G 3 of 20 ~ 15%
B 13 of 20 ~ 65%
#04030D color CMYK value is (69,77,0,95).
CMYK: (69,77,0,95) C69M77Y0K95 (69%,77%,0%,95%) (0.69/0.77/0.00/0.95)
04 | 03 | 0D | |
---|---|---|---|
RGB | 4 | 3 | 13 |
HSL | 246° | 62.50% | 3.14% |
HSB/HSV | 246° | 76.92% | 5.10% |
CMYK | 69.23% | 76.92% | 0.00% |
94.90% |
HEX | 04 | 03 | 0D |
Decimal | 4 | 3 | 13 |
Binary | 100 | 11 | 1101 |
Octal | 4 | 3 | 15 |
Examples of css and html codes for elements with #04030D color. Also use rgb(4,3,13) instead hex code.
.myTextColor { color: #04030D; }
<p style="color:#04030D">This sample text font color is #04030D.</p>
This text font color is #04030D.
.myBgColor { background-color: #04030D; }
<div style="background-color:#04030D">Inner text</div>
This div background color is #04030D.
.myBorderColor { border: 1px solid #04030D; }
<div style="border:3px solid #04030D">Div</div>
This div border color is #04030D.
.myOpacity80 { color: #04030D; opacity: 0.8; }
<p style="color:#04030D;opacity:0.8;">80%</p>
Text with #04030D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04030D;}
<p style="text-shadow: 3px 3px 1px #04030D">Text here.</p>
This text has shadow with #04030D color.
.textShadow {text-shadow: 3px 3px 1px #04030D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04030D, 5px 5px 20px red">Text here.</p>
This text has shadow with #04030D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04030D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04030D, Direction=45, Strength=4)">Text</p>
This text has shadow with #04030D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04030D; -webkit-box-shadow: 1px 1px 3px 2px #04030D; box-shadow: 1px 1px 3px 2px #04030D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04030D; -webkit-box-shadow: 1px 1px 3px 2px #04030D; box-shadow:1px 1px 3px 2px #04030D;">
Div content here</div>
This text has color #04030D on black background.
This text has color #04030D on white background.
This text has black color on #04030D background.
This text has white color on #04030D background.