COLOR #040A1E

HEX: #040A1E RGB: (4,10,30)

Color info

#040A1E contains red, green and blue colors in about the same proportion. Web safe color of #040A1E is #000033 (or #003).

RGB color model

#040A1E color RGB value is (4,10,30).

RGB: (4,10,30) (2%, 4%, 12%)

RGB channels and saturation

R 4 of 255 = 2%
G 10 of 255 = 4%
B 30 of 255 = 12%

4
10
30

R + G + B ~ 6%. #040A1E is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 10 + 30 = 44 (100%)
R 4 of 44 ~ 9.09%
G 10 of 44 ~ 22.73%
B 30 of 44 ~ 68.18'%

%22.73
%68.18

CMYK color model

#040A1E color CMYK value is (87,67,0,88).

  • cyan value is 86.67%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 88.24%

CMYK: (87,67,0,88)
C87M67Y0K88 (87%, 67%, 0%, 88%)
(0.87 / 0.67 / 0.00 / 0.88)

CMYK percentages

%86.67
%66.67
%0
%88.24

Codes

Color #040A1E in popluar color models

04 0A 1E
RGB 4 10 30
HSL 226° 76.47% 6.67%
HSB/HSV 226° 86.67% 11.76%
CMYK 86.67% 66.67% 0.00%
88.24%

Color #040A1E in popluar number systems.

HEX 04 0A 1E
Decimal 4 10 30
Binary 100 1010 11110
Octal 4 12 36

Shades and tints

Shades of #040A1E

#040A1E
(4,10,30)
#040A1C
(4,10,28)
#040A1A
(4,10,26)
#040A18
(4,10,24)
#040A16
(4,10,22)
#040A14
(4,10,20)
#040A12
(4,10,18)
#040A10
(4,10,16)
#040A0E
(4,10,14)
#040A0C
(4,10,12)
#040A0A
(4,10,10)
#000000
(0,0,0)

Tints of #040A1E

#040A1E
(4,10,30)
#1A2032
(26,32,50)
#303646
(48,54,70)
#464C5A
(70,76,90)
#5C626E
(92,98,110)
#727882
(114,120,130)
#888E96
(136,142,150)
#9EA4AA
(158,164,170)
#B4BABE
(180,186,190)
#CAD0D2
(202,208,210)
#E0E6E6
(224,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040A1E; }

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

This text font color is #040A1E.

Background Color

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

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

This div background color is #040A1E.

Border color

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

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

This div border color is #040A1E.

Opacity

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

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

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

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

This text has shadow with #040A1E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040A1E.

Preview

Color preview on black background

This text has color #040A1E on black background.


Color preview on white background

This text has color #040A1E on white background.


Black color preview on #040A1E background

This text has black color on #040A1E background.


White color preview on #040A1E background

This text has white color on #040A1E background.


Related colors

Complementary color

Complementary color for #hex is #FBF5E1.


I love getcolorcode.com

Triadic colors

1 #1E040A and #0A1E04 with #040A1E are triadic colors.

2 #1E0A04 and #0A041E with #040A1E are triadic colors.