Color #040D18

HEX: #040D18
RGB: (4,13,24)

Views — 450
Like — 0

Color info

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


RGB color model

#040D18 color RGB value is (4,13,24).

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

RGB channels and saturation

R 4 of 255 = 2%
G 13 of 255 = 5%
B 24 of 255 = 9%

4
13
24

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

Portions of RGB colors in percentages

R + G + B =
4 + 13 + 24 = 41 (100%)

R 4 of 41 ~ 9.76%
G 13 of 41 ~ 31.71%
B 24 of 41 ~ 58.54%

%9.76
%31.71
%58.54

CMYK color model

#040D18 color CMYK value is (83,46,0,91).

  • cyan value is 83.33%
  • magenta value is 45.83%
  • yellow value is 0.00%
  • key color value is 90.59%
CMYK:
(83,46,0,91)
C83M46Y0K91 
(83%,46%,0%,91%)
(0.83/0.46/0.00/0.91)	

CMYK percentages

%83.33
%45.83
%0
%90.59

Codes

Color #040D18 in popluar color models

040D18
RGB41324
HSL213°71.43%5.49%
HSB/HSV213°83.33%9.41%
CMYK83.33%45.83%0.00%
90.59%

Color #040D18 in popluar number systems.

HEX040D18
Decimal41324
Binary100110111000
Octal41530

Shades and tints

Shades of #040D18

#040D18
(4,13,24)
#040C16
(4,12,22)
#040B14
(4,11,20)
#040A12
(4,10,18)
#040910
(4,9,16)
#04080E
(4,8,14)
#04070C
(4,7,12)
#04060A
(4,6,10)
#040508
(4,5,8)
#040406
(4,4,6)
#040304
(4,3,4)
#000000
(0,0,0)

Tints of #040D18

#040D18
(4,13,24)
#1A232D
(26,35,45)
#303942
(48,57,66)
#464F57
(70,79,87)
#5C656C
(92,101,108)
#727B81
(114,123,129)
#889196
(136,145,150)
#9EA7AB
(158,167,171)
#B4BDC0
(180,189,192)
#CAD3D5
(202,211,213)
#E0E9EA
(224,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040D18; }

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

This text font color is #040D18.


Background Color

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

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

This div background color is #040D18.


Border color

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

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

This div border color is #040D18.


Opacity

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

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

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

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

This text has shadow with #040D18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040D18 on black background.


Color preview on white background

This text has color #040D18 on white background.



Black color preview on #040D18 background

This text has black color on #040D18 background.


White color preview on #040D18 background

This text has white color on #040D18 background.