COLOR #040B24

HEX: #040B24
RGB: (4,11,36)

Color info

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

RGB color model

#040B24 color RGB value is (4,11,36).

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

RGB channels and saturation

R 4 of 255 = 2%
G 11 of 255 = 4%
B 36 of 255 = 14%

4
11
36

R + G + B ~ 7%. #040B24 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 11 + 36 = 51 (100%)
R 4 of 51 ~ 7.84%
G 11 of 51 ~ 21.57%
B 36 of 51 ~ 70.59%

%21.57
%70.59

CMYK color model

#040B24 color CMYK value is (89,69,0,86).

  • cyan value is 88.89%
  • magenta value is 69.44%
  • yellow value is 0.00%
  • key color value is 85.88%
CMYK:
(89,69,0,86)
C89M69Y0K86 
(89%,69%,0%,86%)
(0.89/0.69/0.00/0.86)	

CMYK percentages

%88.89
%69.44
%0
%85.88

Codes

Color #040B24 in popluar color models

040B24
RGB41136
HSL227°80.00%7.84%
HSB/HSV227°88.89%14.12%
CMYK88.89%69.44%0.00%
85.88%

Color #040B24 in popluar number systems.

HEX040B24
Decimal41136
Binary1001011100100
Octal41344

Shades and tints

Shades of #040B24

#040B24
(4,11,36)
#040A21
(4,10,33)
#04091E
(4,9,30)
#04081B
(4,8,27)
#040718
(4,7,24)
#040615
(4,6,21)
#040512
(4,5,18)
#04040F
(4,4,15)
#04030C
(4,3,12)
#040209
(4,2,9)
#040106
(4,1,6)
#000000
(0,0,0)

Tints of #040B24

#040B24
(4,11,36)
#1A2137
(26,33,55)
#30374A
(48,55,74)
#464D5D
(70,77,93)
#5C6370
(92,99,112)
#727983
(114,121,131)
#888F96
(136,143,150)
#9EA5A9
(158,165,169)
#B4BBBC
(180,187,188)
#CAD1CF
(202,209,207)
#E0E7E2
(224,231,226)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040B24; }

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

This text font color is #040B24.


Background Color

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

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

This div background color is #040B24.


Border color

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

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

This div border color is #040B24.


Opacity

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

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

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

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

This text has shadow with #040B24 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040B24 on black background.


Color preview on white background

This text has color #040B24 on white background.



Black color preview on #040B24 background

This text has black color on #040B24 background.


White color preview on #040B24 background

This text has white color on #040B24 background.