COLOR #040A2E

HEX: #040A2E RGB: (4,10,46)

Color info

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

RGB color model

#040A2E color RGB value is (4,10,46).

RGB: (4,10,46) (2%, 4%, 18%)

RGB channels and saturation

R 4 of 255 = 2%
G 10 of 255 = 4%
B 46 of 255 = 18%

4
10
46

R + G + B ~ 8%. #040A2E is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 10 + 46 = 60 (100%)
R 4 of 60 ~ 6.67%
G 10 of 60 ~ 16.67%
B 46 of 60 ~ 76.67'%

%16.67
%76.67

CMYK color model

#040A2E color CMYK value is (91,78,0,82).

  • cyan value is 91.30%
  • magenta value is 78.26%
  • yellow value is 0.00%
  • key color value is 81.96%

CMYK: (91,78,0,82)
C91M78Y0K82 (91%, 78%, 0%, 82%)
(0.91 / 0.78 / 0.00 / 0.82)

CMYK percentages

%91.3
%78.26
%0
%81.96

Codes

Color #040A2E in popluar color models

04 0A 2E
RGB 4 10 46
HSL 231° 84.00% 9.80%
HSB/HSV 231° 91.30% 18.04%
CMYK 91.30% 78.26% 0.00%
81.96%

Color #040A2E in popluar number systems.

HEX 04 0A 2E
Decimal 4 10 46
Binary 100 1010 101110
Octal 4 12 56

Shades and tints

Shades of #040A2E

#040A2E
(4,10,46)
#040A2A
(4,10,42)
#040A26
(4,10,38)
#040A22
(4,10,34)
#040A1E
(4,10,30)
#040A1A
(4,10,26)
#040A16
(4,10,22)
#040A12
(4,10,18)
#040A0E
(4,10,14)
#040A0A
(4,10,10)
#040A06
(4,10,6)
#000000
(0,0,0)

Tints of #040A2E

#040A2E
(4,10,46)
#1A2041
(26,32,65)
#303654
(48,54,84)
#464C67
(70,76,103)
#5C627A
(92,98,122)
#72788D
(114,120,141)
#888EA0
(136,142,160)
#9EA4B3
(158,164,179)
#B4BAC6
(180,186,198)
#CAD0D9
(202,208,217)
#E0E6EC
(224,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040A2E; }

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

This text font color is #040A2E.

Background Color

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

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

This div background color is #040A2E.

Border color

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

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

This div border color is #040A2E.

Opacity

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

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

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

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

This text has shadow with #040A2E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040A2E.

Preview

Color preview on black background

This text has color #040A2E on black background.


Color preview on white background

This text has color #040A2E on white background.


Black color preview on #040A2E background

This text has black color on #040A2E background.


White color preview on #040A2E background

This text has white color on #040A2E background.


Related colors

Complementary color

Complementary color for #hex is #FBF5D1.


I love getcolorcode.com

Triadic colors

1 #2E040A and #0A2E04 with #040A2E are triadic colors.

2 #2E0A04 and #0A042E with #040A2E are triadic colors.