HEX: #060A04
RGB: (6,10,4)
#060A04 contains red, green and blue colors in about the same proportion. Web safe color of #060A04 is #000000 (or #000).
#060A04 color RGB value is (6,10,4).
RGB: (6,10,4) (2%,4%,2%)
R 6 of 255 = 2%
G 10 of 255 = 4%
B 4 of 255 = 2%
R + G + B ~ 3%. #060A04 is dark color.
R + G + B =
6 + 10 + 4 = 20 (100%)
R 6 of 20 ~ 30%
G 10 of 20 ~ 50%
B 4 of 20 ~ 20%
#060A04 color CMYK value is (40,0,60,96).
CMYK: (40,0,60,96) C40M0Y60K96 (40%,0%,60%,96%) (0.40/0.00/0.60/0.96)
06 | 0A | 04 | |
---|---|---|---|
RGB | 6 | 10 | 4 |
HSL | 100° | 42.86% | 2.75% |
HSB/HSV | 100° | 60.00% | 3.92% |
CMYK | 40.00% | 0.00% | 60.00% |
96.08% |
HEX | 06 | 0A | 04 |
Decimal | 6 | 10 | 4 |
Binary | 110 | 1010 | 100 |
Octal | 6 | 12 | 4 |
Examples of css and html codes for elements with #060A04 color. Also use rgb(6,10,4) instead hex code.
.myTextColor { color: #060A04; }
<p style="color:#060A04">This sample text font color is #060A04.</p>
This text font color is #060A04.
.myBgColor { background-color: #060A04; }
<div style="background-color:#060A04">Inner text</div>
This div background color is #060A04.
.myBorderColor { border: 1px solid #060A04; }
<div style="border:3px solid #060A04">Div</div>
This div border color is #060A04.
.myOpacity80 { color: #060A04; opacity: 0.8; }
<p style="color:#060A04;opacity:0.8;">80%</p>
Text with #060A04 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #060A04;}
<p style="text-shadow: 3px 3px 1px #060A04">Text here.</p>
This text has shadow with #060A04 color.
.textShadow {text-shadow: 3px 3px 1px #060A04, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #060A04, 5px 5px 20px red">Text here.</p>
This text has shadow with #060A04 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#060A04, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#060A04, Direction=45, Strength=4)">Text</p>
This text has shadow with #060A04 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #060A04; -webkit-box-shadow: 1px 1px 3px 2px #060A04; box-shadow: 1px 1px 3px 2px #060A04; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #060A04; -webkit-box-shadow: 1px 1px 3px 2px #060A04; box-shadow:1px 1px 3px 2px #060A04;">
Div content here</div>
This text has color #060A04 on black background.
This text has color #060A04 on white background.
This text has black color on #060A04 background.
This text has white color on #060A04 background.