COLOR #040A14

HEX: #040A14 RGB: (4,10,20)

Color info

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

RGB color model

#040A14 color RGB value is (4,10,20).

RGB: (4,10,20) (2%, 4%, 8%)

RGB channels and saturation

R 4 of 255 = 2%
G 10 of 255 = 4%
B 20 of 255 = 8%

4
10
20

R + G + B ~ 5%. #040A14 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 10 + 20 = 34 (100%)
R 4 of 34 ~ 11.76%
G 10 of 34 ~ 29.41%
B 20 of 34 ~ 58.82'%

%11.76
%29.41
%58.82

CMYK color model

#040A14 color CMYK value is (80,50,0,92).

  • cyan value is 80.00%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 92.16%
CMYK: (80,50,0,92) C80M50Y0K92 (80%,50%,0%,92%) (0.80/0.50/0.00/0.92) 

CMYK percentages

%80
%50
%0
%92.16

Codes

Color #040A14 in popluar color models

04 0A 14
RGB 4 10 20
HSL 218° 66.67% 4.71%
HSB/HSV 218° 80.00% 7.84%
CMYK 80.00% 50.00% 0.00%
92.16%

Color #040A14 in popluar number systems.

HEX 04 0A 14
Decimal 4 10 20
Binary 100 1010 10100
Octal 4 12 24

Shades and tints

Shades of #040A14

#040A14
(4,10,20)
#040A13
(4,10,19)
#040A12
(4,10,18)
#040A11
(4,10,17)
#040A10
(4,10,16)
#040A0F
(4,10,15)
#040A0E
(4,10,14)
#040A0D
(4,10,13)
#040A0C
(4,10,12)
#040A0B
(4,10,11)
#040A0A
(4,10,10)
#000000
(0,0,0)

Tints of #040A14

#040A14
(4,10,20)
#1A2029
(26,32,41)
#30363E
(48,54,62)
#464C53
(70,76,83)
#5C6268
(92,98,104)
#72787D
(114,120,125)
#888E92
(136,142,146)
#9EA4A7
(158,164,167)
#B4BABC
(180,186,188)
#CAD0D1
(202,208,209)
#E0E6E6
(224,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040A14; }

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

This text font color is #040A14.

Background Color

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

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

This div background color is #040A14.

Border color

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

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

This div border color is #040A14.

Opacity

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

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

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

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

This text has shadow with #040A14 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040A14.

Preview

Color preview on black background

This text has color #040A14 on black background.


Color preview on white background

This text has color #040A14 on white background.


Black color preview on #040A14 background

This text has black color on #040A14 background.


White color preview on #040A14 background

This text has white color on #040A14 background.


Related colors

Complementary color

Complementary color for #hex is #FBF5EB.


I love getcolorcode.com

Triadic colors

1 #14040A and #0A1404 with #040A14 are triadic colors.

2 #140A04 and #0A0414 with #040A14 are triadic colors.