HEX: #042909
RGB: (4,41,9)
#042909 contains red, green and blue colors in about the same proportion. Web safe color of #042909 is #003300 (or #030).
#042909 color RGB value is (4,41,9).
RGB: (4,41,9) (2%,16%,4%)
R 4 of 255 = 2%
G 41 of 255 = 16%
B 9 of 255 = 4%
R + G + B ~ 7%. #042909 is dark color.
R + G + B =
4 + 41 + 9 = 54 (100%)
R 4 of 54 ~ 7.41%
G 41 of 54 ~ 75.93%
B 9 of 54 ~ 16.67%
#042909 color CMYK value is (90,0,78,84).
CMYK: (90,0,78,84) C90M0Y78K84 (90%,0%,78%,84%) (0.90/0.00/0.78/0.84)
04 | 29 | 09 | |
---|---|---|---|
RGB | 4 | 41 | 9 |
HSL | 128° | 82.22% | 8.82% |
HSB/HSV | 128° | 90.24% | 16.08% |
CMYK | 90.24% | 0.00% | 78.05% |
83.92% |
HEX | 04 | 29 | 09 |
Decimal | 4 | 41 | 9 |
Binary | 100 | 101001 | 1001 |
Octal | 4 | 51 | 11 |
Examples of css and html codes for elements with #042909 color. Also use rgb(4,41,9) instead hex code.
.myTextColor { color: #042909; }
<p style="color:#042909">This sample text font color is #042909.</p>
This text font color is #042909.
.myBgColor { background-color: #042909; }
<div style="background-color:#042909">Inner text</div>
This div background color is #042909.
.myBorderColor { border: 1px solid #042909; }
<div style="border:3px solid #042909">Div</div>
This div border color is #042909.
.myOpacity80 { color: #042909; opacity: 0.8; }
<p style="color:#042909;opacity:0.8;">80%</p>
Text with #042909 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #042909;}
<p style="text-shadow: 3px 3px 1px #042909">Text here.</p>
This text has shadow with #042909 color.
.textShadow {text-shadow: 3px 3px 1px #042909, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #042909, 5px 5px 20px red">Text here.</p>
This text has shadow with #042909 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#042909, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#042909, Direction=45, Strength=4)">Text</p>
This text has shadow with #042909 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #042909; -webkit-box-shadow: 1px 1px 3px 2px #042909; box-shadow: 1px 1px 3px 2px #042909; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #042909; -webkit-box-shadow: 1px 1px 3px 2px #042909; box-shadow:1px 1px 3px 2px #042909;">
Div content here</div>
This text has color #042909 on black background.
This text has color #042909 on white background.
This text has black color on #042909 background.
This text has white color on #042909 background.