COLOR #040A46

HEX: #040A46
RGB: (4,10,70)

Color info

#040A46 contains mainly blue color. Web safe color of #040A46 is #000033 (or #003).

RGB color model

#040A46 color RGB value is (4,10,70).

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

RGB channels and saturation

R 4 of 255 = 2%
G 10 of 255 = 4%
B 70 of 255 = 27%

4
10
70

R + G + B ~ 11%. #040A46 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 10 + 70 = 84 (100%)
R 4 of 84 ~ 4.76%
G 10 of 84 ~ 11.9%
B 70 of 84 ~ 83.33%

%11.9
%83.33

CMYK color model

#040A46 color CMYK value is (94,86,0,73).

  • cyan value is 94.29%
  • magenta value is 85.71%
  • yellow value is 0.00%
  • key color value is 72.55%
CMYK:
(94,86,0,73)
C94M86Y0K73 
(94%,86%,0%,73%)
(0.94/0.86/0.00/0.73)	

CMYK percentages

%94.29
%85.71
%0
%72.55

Codes

Color #040A46 in popluar color models

040A46
RGB41070
HSL235°89.19%14.51%
HSB/HSV235°94.29%27.45%
CMYK94.29%85.71%0.00%
72.55%

Color #040A46 in popluar number systems.

HEX040A46
Decimal41070
Binary10010101000110
Octal412106

Shades and tints

Shades of #040A46

#040A46
(4,10,70)
#040A40
(4,10,64)
#040A3A
(4,10,58)
#040A34
(4,10,52)
#040A2E
(4,10,46)
#040A28
(4,10,40)
#040A22
(4,10,34)
#040A1C
(4,10,28)
#040A16
(4,10,22)
#040A10
(4,10,16)
#040A0A
(4,10,10)
#000000
(0,0,0)

Tints of #040A46

#040A46
(4,10,70)
#1A2056
(26,32,86)
#303666
(48,54,102)
#464C76
(70,76,118)
#5C6286
(92,98,134)
#727896
(114,120,150)
#888EA6
(136,142,166)
#9EA4B6
(158,164,182)
#B4BAC6
(180,186,198)
#CAD0D6
(202,208,214)
#E0E6E6
(224,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040A46; }

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

This text font color is #040A46.


Background Color

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

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

This div background color is #040A46.


Border color

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

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

This div border color is #040A46.


Opacity

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

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

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

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

This text has shadow with #040A46 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040A46 on black background.


Color preview on white background

This text has color #040A46 on white background.



Black color preview on #040A46 background

This text has black color on #040A46 background.


White color preview on #040A46 background

This text has white color on #040A46 background.