COLOR #040A06

HEX: #040A06 RGB: (4,10,6)

Color info

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

RGB color model

#040A06 color RGB value is (4,10,6).

RGB: (4,10,6) (2%, 4%, 2%)

RGB channels and saturation

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

4
10
6

R + G + B ~ 3%. #040A06 is dark color.

Portions of RGB colors in percentages

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

%20
%50
%30

CMYK color model

#040A06 color CMYK value is (60,0,40,96).

  • cyan value is 60.00%
  • magenta value is 0.00%
  • yellow value is 40.00%
  • key color value is 96.08%

CMYK: (60,0,40,96)
C60M0Y40K96 (60%, 0%, 40%, 96%)
(0.60 / 0.00 / 0.40 / 0.96)

CMYK percentages

%60
%0
%40
%96.08

Codes

Color #040A06 in popluar color models

04 0A 06
RGB 4 10 6
HSL 140° 42.86% 2.75%
HSB/HSV 140° 60.00% 3.92%
CMYK 60.00% 0.00% 40.00%
96.08%

Color #040A06 in popluar number systems.

HEX 04 0A 06
Decimal 4 10 6
Binary 100 1010 110
Octal 4 12 6

Shades and tints

Tints of #040A06

#040A06
(4,10,6)
#1A201C
(26,32,28)
#303632
(48,54,50)
#464C48
(70,76,72)
#5C625E
(92,98,94)
#727874
(114,120,116)
#888E8A
(136,142,138)
#9EA4A0
(158,164,160)
#B4BAB6
(180,186,182)
#CAD0CC
(202,208,204)
#E0E6E2
(224,230,226)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040A06; }

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

This text font color is #040A06.

Background Color

.myBgColor { background-color: #040A06; }

<div style="background-color:#040A06">Inner text</div>

This div background color is #040A06.

Border color

.myBorderColor { border: 1px solid #040A06; }

<div style="border:3px solid #040A06">Div</div>

This div border color is #040A06.

Opacity

.myOpacity80 { color: #040A06; opacity: 0.8; }

<p style="color:#040A06;opacity:0.8;">80%</p>

Text with #040A06 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 #040A06;}

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

This text has shadow with #040A06 color.


.textShadow {text-shadow: 3px 3px 1px #040A06', 3px 3px 1px red;}

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

This text has shadow with #040A06 primary color and red secondary color.


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

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

This text has shadow with #040A06 and red colors in old Internet Explorer.

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #040A06; -webkit-box-shadow: 1px 1px 3px 2px #040A06; box-shadow:1px 1px 3px 2px #040A06;">
Div content here
</div>

This div box has shadow with color #040A06.

Preview

Color preview on black background

This text has color #040A06 on black background.


Color preview on white background

This text has color #040A06 on white background.


Black color preview on #040A06 background

This text has black color on #040A06 background.


White color preview on #040A06 background

This text has white color on #040A06 background.


Related colors

Complementary color

Complementary color for #hex is #FBF5F9.


I love getcolorcode.com

Triadic colors

1 #06040A and #0A0604 with #040A06 are triadic colors.

2 #060A04 and #0A0406 with #040A06 are triadic colors.