COLOR #040D17

HEX: #040D17
RGB: (4,13,23)

Color info

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

RGB color model

#040D17 color RGB value is (4,13,23).

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

RGB channels and saturation

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

4
13
23

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

Portions of RGB colors in percentages

R + G + B =
4 + 13 + 23 = 40 (100%)
R 4 of 40 ~ 10%
G 13 of 40 ~ 32.5%
B 23 of 40 ~ 57.5%

%10
%32.5
%57.5

CMYK color model

#040D17 color CMYK value is (83,43,0,91).

  • cyan value is 82.61%
  • magenta value is 43.48%
  • yellow value is 0.00%
  • key color value is 90.98%
CMYK:
(83,43,0,91)
C83M43Y0K91 
(83%,43%,0%,91%)
(0.83/0.43/0.00/0.91)	

CMYK percentages

%82.61
%43.48
%0
%90.98

Codes

Color #040D17 in popluar color models

040D17
RGB41323
HSL212°70.37%5.29%
HSB/HSV212°82.61%9.02%
CMYK82.61%43.48%0.00%
90.98%

Color #040D17 in popluar number systems.

HEX040D17
Decimal41323
Binary100110110111
Octal41527

Shades and tints

Shades of #040D17

#040D17
(4,13,23)
#040C15
(4,12,21)
#040B13
(4,11,19)
#040A11
(4,10,17)
#04090F
(4,9,15)
#04080D
(4,8,13)
#04070B
(4,7,11)
#040609
(4,6,9)
#040507
(4,5,7)
#040405
(4,4,5)
#040303
(4,3,3)
#000000
(0,0,0)

Tints of #040D17

#040D17
(4,13,23)
#1A232C
(26,35,44)
#303941
(48,57,65)
#464F56
(70,79,86)
#5C656B
(92,101,107)
#727B80
(114,123,128)
#889195
(136,145,149)
#9EA7AA
(158,167,170)
#B4BDBF
(180,189,191)
#CAD3D4
(202,211,212)
#E0E9E9
(224,233,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040D17; }

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

This text font color is #040D17.


Background Color

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

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

This div background color is #040D17.


Border color

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

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

This div border color is #040D17.


Opacity

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

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

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

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

This text has shadow with #040D17 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040D17 on black background.


Color preview on white background

This text has color #040D17 on white background.



Black color preview on #040D17 background

This text has black color on #040D17 background.


White color preview on #040D17 background

This text has white color on #040D17 background.