COLOR #040E18

HEX: #040E18
RGB: (4,14,24)

Color info

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

RGB color model

#040E18 color RGB value is (4,14,24).

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

RGB channels and saturation

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

4
14
24

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

Portions of RGB colors in percentages

R + G + B =
4 + 14 + 24 = 42 (100%)
R 4 of 42 ~ 9.52%
G 14 of 42 ~ 33.33%
B 24 of 42 ~ 57.14%

%9.52
%33.33
%57.14

CMYK color model

#040E18 color CMYK value is (83,42,0,91).

  • cyan value is 83.33%
  • magenta value is 41.67%
  • yellow value is 0.00%
  • key color value is 90.59%
CMYK: (83,42,0,91) C83M42Y0K91 (83%,42%,0%,91%) (0.83/0.42/0.00/0.91)

CMYK percentages

%83.33
%41.67
%0
%90.59

Codes

Color #040E18 in popluar color models

040E18
RGB41424
HSL210°71.43%5.49%
HSB/HSV210°83.33%9.41%
CMYK83.33%41.67%0.00%
90.59%

Color #040E18 in popluar number systems.

HEX040E18
Decimal41424
Binary100111011000
Octal41630

Shades and tints

Shades of #040E18

#040E18
(4,14,24)
#040D16
(4,13,22)
#040C14
(4,12,20)
#040B12
(4,11,18)
#040A10
(4,10,16)
#04090E
(4,9,14)
#04080C
(4,8,12)
#04070A
(4,7,10)
#040608
(4,6,8)
#040506
(4,5,6)
#040404
(4,4,4)
#000000
(0,0,0)

Tints of #040E18

#040E18
(4,14,24)
#1A232D
(26,35,45)
#303842
(48,56,66)
#464D57
(70,77,87)
#5C626C
(92,98,108)
#727781
(114,119,129)
#888C96
(136,140,150)
#9EA1AB
(158,161,171)
#B4B6C0
(180,182,192)
#CACBD5
(202,203,213)
#E0E0EA
(224,224,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040E18; }

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

This text font color is #040E18.


Background Color

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

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

This div background color is #040E18.


Border color

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

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

This div border color is #040E18.


Opacity

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

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

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

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

This text has shadow with #040E18 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #040E18 on black background.


Color preview on white background

This text has color #040E18 on white background.



Black color preview on #040E18 background

This text has black color on #040E18 background.


White color preview on #040E18 background

This text has white color on #040E18 background.