COLOR #040B2C

HEX: #040B2C
RGB: (4,11,44)

Color info

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

RGB color model

#040B2C color RGB value is (4,11,44).

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

RGB channels and saturation

R 4 of 255 = 2%
G 11 of 255 = 4%
B 44 of 255 = 17%

4
11
44

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

Portions of RGB colors in percentages

R + G + B =
4 + 11 + 44 = 59 (100%)
R 4 of 59 ~ 6.78%
G 11 of 59 ~ 18.64%
B 44 of 59 ~ 74.58%

%18.64
%74.58

CMYK color model

#040B2C color CMYK value is (91,75,0,83).

  • cyan value is 90.91%
  • magenta value is 75.00%
  • yellow value is 0.00%
  • key color value is 82.75%
CMYK:
(91,75,0,83)
C91M75Y0K83 
(91%,75%,0%,83%)
(0.91/0.75/0.00/0.83)	

CMYK percentages

%90.91
%75
%0
%82.75

Codes

Color #040B2C in popluar color models

040B2C
RGB41144
HSL230°83.33%9.41%
HSB/HSV230°90.91%17.25%
CMYK90.91%75.00%0.00%
82.75%

Color #040B2C in popluar number systems.

HEX040B2C
Decimal41144
Binary1001011101100
Octal41354

Shades and tints

Shades of #040B2C

#040B2C
(4,11,44)
#040A28
(4,10,40)
#040924
(4,9,36)
#040820
(4,8,32)
#04071C
(4,7,28)
#040618
(4,6,24)
#040514
(4,5,20)
#040410
(4,4,16)
#04030C
(4,3,12)
#040208
(4,2,8)
#040104
(4,1,4)
#000000
(0,0,0)

Tints of #040B2C

#040B2C
(4,11,44)
#1A213F
(26,33,63)
#303752
(48,55,82)
#464D65
(70,77,101)
#5C6378
(92,99,120)
#72798B
(114,121,139)
#888F9E
(136,143,158)
#9EA5B1
(158,165,177)
#B4BBC4
(180,187,196)
#CAD1D7
(202,209,215)
#E0E7EA
(224,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040B2C; }

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

This text font color is #040B2C.


Background Color

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

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

This div background color is #040B2C.


Border color

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

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

This div border color is #040B2C.


Opacity

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

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

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

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

This text has shadow with #040B2C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040B2C on black background.


Color preview on white background

This text has color #040B2C on white background.



Black color preview on #040B2C background

This text has black color on #040B2C background.


White color preview on #040B2C background

This text has white color on #040B2C background.