COLOR #040A86

HEX: #040A86
RGB: (4,10,134)

Color info

#040A86 contains mainly blue color. Web safe color of #040A86 is #000099 (or #009).

RGB color model

#040A86 color RGB value is (4,10,134).

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

RGB channels and saturation

R 4 of 255 = 2%
G 10 of 255 = 4%
B 134 of 255 = 53%

4
10
134

R + G + B ~ 20%. #040A86 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 10 + 134 = 148 (100%)
R 4 of 148 ~ 2.7%
G 10 of 148 ~ 6.76%
B 134 of 148 ~ 90.54%

%90.54

CMYK color model

#040A86 color CMYK value is (97,93,0,47).

  • cyan value is 97.01%
  • magenta value is 92.54%
  • yellow value is 0.00%
  • key color value is 47.45%
CMYK:
(97,93,0,47)
C97M93Y0K47 
(97%,93%,0%,47%)
(0.97/0.93/0.00/0.47)	

CMYK percentages

%97.01
%92.54
%0
%47.45

Codes

Color #040A86 in popluar color models

040A86
RGB410134
HSL237°94.20%27.06%
HSB/HSV237°97.01%52.55%
CMYK97.01%92.54%0.00%
47.45%

Color #040A86 in popluar number systems.

HEX040A86
Decimal410134
Binary100101010000110
Octal412206

Shades and tints

Shades of #040A86

#040A86
(4,10,134)
#040A7A
(4,10,122)
#040A6E
(4,10,110)
#040A62
(4,10,98)
#040A56
(4,10,86)
#040A4A
(4,10,74)
#040A3E
(4,10,62)
#040A32
(4,10,50)
#040A26
(4,10,38)
#040A1A
(4,10,26)
#040A0E
(4,10,14)
#000000
(0,0,0)

Tints of #040A86

#040A86
(4,10,134)
#1A2091
(26,32,145)
#30369C
(48,54,156)
#464CA7
(70,76,167)
#5C62B2
(92,98,178)
#7278BD
(114,120,189)
#888EC8
(136,142,200)
#9EA4D3
(158,164,211)
#B4BADE
(180,186,222)
#CAD0E9
(202,208,233)
#E0E6F4
(224,230,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040A86; }

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

This text font color is #040A86.


Background Color

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

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

This div background color is #040A86.


Border color

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

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

This div border color is #040A86.


Opacity

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

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

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

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

This text has shadow with #040A86 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040A86 on black background.


Color preview on white background

This text has color #040A86 on white background.



Black color preview on #040A86 background

This text has black color on #040A86 background.


White color preview on #040A86 background

This text has white color on #040A86 background.