COLOR #040B17

HEX: #040B17
RGB: (4,11,23)

Color info

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

RGB color model

#040B17 color RGB value is (4,11,23).

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

RGB channels and saturation

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

4
11
23

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

Portions of RGB colors in percentages

R + G + B =
4 + 11 + 23 = 38 (100%)
R 4 of 38 ~ 10.53%
G 11 of 38 ~ 28.95%
B 23 of 38 ~ 60.53%

%10.53
%28.95
%60.53

CMYK color model

#040B17 color CMYK value is (83,52,0,91).

  • cyan value is 82.61%
  • magenta value is 52.17%
  • yellow value is 0.00%
  • key color value is 90.98%
CMYK:
(83,52,0,91)
C83M52Y0K91 
(83%,52%,0%,91%)
(0.83/0.52/0.00/0.91)	

CMYK percentages

%82.61
%52.17
%0
%90.98

Codes

Color #040B17 in popluar color models

040B17
RGB41123
HSL218°70.37%5.29%
HSB/HSV218°82.61%9.02%
CMYK82.61%52.17%0.00%
90.98%

Color #040B17 in popluar number systems.

HEX040B17
Decimal41123
Binary100101110111
Octal41327

Shades and tints

Shades of #040B17

#040B17
(4,11,23)
#040A15
(4,10,21)
#040913
(4,9,19)
#040811
(4,8,17)
#04070F
(4,7,15)
#04060D
(4,6,13)
#04050B
(4,5,11)
#040409
(4,4,9)
#040307
(4,3,7)
#040205
(4,2,5)
#040103
(4,1,3)
#000000
(0,0,0)

Tints of #040B17

#040B17
(4,11,23)
#1A212C
(26,33,44)
#303741
(48,55,65)
#464D56
(70,77,86)
#5C636B
(92,99,107)
#727980
(114,121,128)
#888F95
(136,143,149)
#9EA5AA
(158,165,170)
#B4BBBF
(180,187,191)
#CAD1D4
(202,209,212)
#E0E7E9
(224,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040B17; }

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

This text font color is #040B17.


Background Color

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

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

This div background color is #040B17.


Border color

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

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

This div border color is #040B17.


Opacity

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

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

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

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

This text has shadow with #040B17 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040B17 on black background.


Color preview on white background

This text has color #040B17 on white background.



Black color preview on #040B17 background

This text has black color on #040B17 background.


White color preview on #040B17 background

This text has white color on #040B17 background.