COLOR #040B18

HEX: #040B18
RGB: (4,11,24)

Color info

#040B18 contains red, green and blue colors in about the same proportion. Web safe color of #040B18 is #000000 (or #000).

RGB color model

#040B18 color RGB value is (4,11,24).

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

RGB channels and saturation

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

4
11
24

R + G + B ~ 5%. #040B18 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 11 + 24 = 39 (100%)
R 4 of 39 ~ 10.26%
G 11 of 39 ~ 28.21%
B 24 of 39 ~ 61.54%

%10.26
%28.21
%61.54

CMYK color model

#040B18 color CMYK value is (83,54,0,91).

  • cyan value is 83.33%
  • magenta value is 54.17%
  • yellow value is 0.00%
  • key color value is 90.59%
CMYK:
(83,54,0,91)
C83M54Y0K91 
(83%,54%,0%,91%)
(0.83/0.54/0.00/0.91)	

CMYK percentages

%83.33
%54.17
%0
%90.59

Codes

Color #040B18 in popluar color models

040B18
RGB41124
HSL219°71.43%5.49%
HSB/HSV219°83.33%9.41%
CMYK83.33%54.17%0.00%
90.59%

Color #040B18 in popluar number systems.

HEX040B18
Decimal41124
Binary100101111000
Octal41330

Shades and tints

Shades of #040B18

#040B18
(4,11,24)
#040A16
(4,10,22)
#040914
(4,9,20)
#040812
(4,8,18)
#040710
(4,7,16)
#04060E
(4,6,14)
#04050C
(4,5,12)
#04040A
(4,4,10)
#040308
(4,3,8)
#040206
(4,2,6)
#040104
(4,1,4)
#000000
(0,0,0)

Tints of #040B18

#040B18
(4,11,24)
#1A212D
(26,33,45)
#303742
(48,55,66)
#464D57
(70,77,87)
#5C636C
(92,99,108)
#727981
(114,121,129)
#888F96
(136,143,150)
#9EA5AB
(158,165,171)
#B4BBC0
(180,187,192)
#CAD1D5
(202,209,213)
#E0E7EA
(224,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040B18; }

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

This text font color is #040B18.


Background Color

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

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

This div background color is #040B18.


Border color

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

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

This div border color is #040B18.


Opacity

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

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

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

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

This text has shadow with #040B18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040B18 on black background.


Color preview on white background

This text has color #040B18 on white background.



Black color preview on #040B18 background

This text has black color on #040B18 background.


White color preview on #040B18 background

This text has white color on #040B18 background.