COLOR #04060A

HEX: #04060A
RGB: (4,6,10)

Color info

#04060A contains red, green and blue colors in about the same proportion. Web safe color of #04060A is #000000 (or #000).

RGB color model

#04060A color RGB value is (4,6,10).

  • red value is 4;
  • green value is 6;
  • blue value is 10.
RGB:
(4,6,10)
(2%,2%,4%)

RGB channels and saturation

R 4 of 255 = 2%
G 6 of 255 = 2%
B 10 of 255 = 4%

4
6
10

R + G + B ~ 3%. #04060A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 6 + 10 = 20 (100%)
R 4 of 20 ~ 20%
G 6 of 20 ~ 30%
B 10 of 20 ~ 50%

%20
%30
%50

CMYK color model

#04060A color CMYK value is (60,40,0,96).

  • cyan value is 60.00%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 96.08%
CMYK:
(60,40,0,96)
C60M40Y0K96 
(60%,40%,0%,96%)
(0.60/0.40/0.00/0.96)	

CMYK percentages

%60
%40
%0
%96.08

Codes

Color #04060A in popluar color models

04060A
RGB4610
HSL220°42.86%2.75%
HSB/HSV220°60.00%3.92%
CMYK60.00%40.00%0.00%
96.08%

Color #04060A in popluar number systems.

HEX04060A
Decimal4610
Binary1001101010
Octal4612

Shades and tints

Tints of #04060A

#04060A
(4,6,10)
#1A1C20
(26,28,32)
#303236
(48,50,54)
#46484C
(70,72,76)
#5C5E62
(92,94,98)
#727478
(114,116,120)
#888A8E
(136,138,142)
#9EA0A4
(158,160,164)
#B4B6BA
(180,182,186)
#CACCD0
(202,204,208)
#E0E2E6
(224,226,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04060A color. Also use rgb(4,6,10) instead hex code.

Text Font Color

.myTextColor { color: #04060A; }

<p style="color:#04060A">This sample text font color is #04060A.</p>

This text font color is #04060A.


Background Color

.myBgColor { background-color: #04060A; }

<div style="background-color:#04060A">Inner text</div>

This div background color is #04060A.


Border color

.myBorderColor { border: 1px solid #04060A; }

<div style="border:3px solid #04060A">Div</div>

This div border color is #04060A.


Opacity

.myOpacity80 { color: #04060A; opacity: 0.8; }

<p style="color:#04060A;opacity:0.8;">80%</p>

Text with #04060A color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #04060A;}

<p style="text-shadow: 3px 3px 1px #04060A">Text here.</p>

This text has shadow with #04060A color.

.textShadow {text-shadow: 3px 3px 1px #04060A, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #04060A, 5px 5px 20px red">Text here.</p>

This text has shadow with #04060A primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04060A, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#04060A, Direction=45, Strength=4)">Text</p>

This text has shadow with #04060A and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #04060A;
  -webkit-box-shadow:	1px 1px 3px 2px #04060A;
  box-shadow:		1px 1px 3px 2px #04060A;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04060A;
-webkit-box-shadow: 1px 1px 3px 2px #04060A;
box-shadow:1px 1px 3px 2px #04060A;">
Div content here</div>
This div box has shadow with color #04060A.

Preview

Color preview on black background

This text has color #04060A on black background.


Color preview on white background

This text has color #04060A on white background.



Black color preview on #04060A background

This text has black color on #04060A background.


White color preview on #04060A background

This text has white color on #04060A background.