COLOR #040B3E

HEX: #040B3E
RGB: (4,11,62)

Color info

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

RGB color model

#040B3E color RGB value is (4,11,62).

  • red value is 4;
  • green value is 11;
  • blue value is 62.
RGB:
(4,11,62)
(2%,4%,24%)

RGB channels and saturation

R 4 of 255 = 2%
G 11 of 255 = 4%
B 62 of 255 = 24%

4
11
62

R + G + B ~ 10%. #040B3E is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 11 + 62 = 77 (100%)
R 4 of 77 ~ 5.19%
G 11 of 77 ~ 14.29%
B 62 of 77 ~ 80.52%

%14.29
%80.52

CMYK color model

#040B3E color CMYK value is (94,82,0,76).

  • cyan value is 93.55%
  • magenta value is 82.26%
  • yellow value is 0.00%
  • key color value is 75.69%
CMYK:
(94,82,0,76)
C94M82Y0K76 
(94%,82%,0%,76%)
(0.94/0.82/0.00/0.76)	

CMYK percentages

%93.55
%82.26
%0
%75.69

Codes

Color #040B3E in popluar color models

040B3E
RGB41162
HSL233°87.88%12.94%
HSB/HSV233°93.55%24.31%
CMYK93.55%82.26%0.00%
75.69%

Color #040B3E in popluar number systems.

HEX040B3E
Decimal41162
Binary1001011111110
Octal41376

Shades and tints

Shades of #040B3E

#040B3E
(4,11,62)
#040A39
(4,10,57)
#040934
(4,9,52)
#04082F
(4,8,47)
#04072A
(4,7,42)
#040625
(4,6,37)
#040520
(4,5,32)
#04041B
(4,4,27)
#040316
(4,3,22)
#040211
(4,2,17)
#04010C
(4,1,12)
#000000
(0,0,0)

Tints of #040B3E

#040B3E
(4,11,62)
#1A214F
(26,33,79)
#303760
(48,55,96)
#464D71
(70,77,113)
#5C6382
(92,99,130)
#727993
(114,121,147)
#888FA4
(136,143,164)
#9EA5B5
(158,165,181)
#B4BBC6
(180,187,198)
#CAD1D7
(202,209,215)
#E0E7E8
(224,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040B3E color. Also use rgb(4,11,62) instead hex code.

Text Font Color

.myTextColor { color: #040B3E; }

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

This text font color is #040B3E.


Background Color

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

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

This div background color is #040B3E.


Border color

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

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

This div border color is #040B3E.


Opacity

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

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

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

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

This text has shadow with #040B3E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040B3E on black background.


Color preview on white background

This text has color #040B3E on white background.



Black color preview on #040B3E background

This text has black color on #040B3E background.


White color preview on #040B3E background

This text has white color on #040B3E background.