COLOR #040F17

HEX: #040F17
RGB: (4,15,23)

Color info

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

RGB color model

#040F17 color RGB value is (4,15,23).

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

RGB channels and saturation

R 4 of 255 = 2%
G 15 of 255 = 6%
B 23 of 255 = 9%

4
15
23

R + G + B ~ 6%. #040F17 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 15 + 23 = 42 (100%)
R 4 of 42 ~ 9.52%
G 15 of 42 ~ 35.71%
B 23 of 42 ~ 54.76%

%9.52
%35.71
%54.76

CMYK color model

#040F17 color CMYK value is (83,35,0,91).

  • cyan value is 82.61%
  • magenta value is 34.78%
  • yellow value is 0.00%
  • key color value is 90.98%
CMYK:
(83,35,0,91)
C83M35Y0K91 
(83%,35%,0%,91%)
(0.83/0.35/0.00/0.91)	

CMYK percentages

%82.61
%34.78
%0
%90.98

Codes

Color #040F17 in popluar color models

040F17
RGB41523
HSL205°70.37%5.29%
HSB/HSV205°82.61%9.02%
CMYK82.61%34.78%0.00%
90.98%

Color #040F17 in popluar number systems.

HEX040F17
Decimal41523
Binary100111110111
Octal41727

Shades and tints

Shades of #040F17

#040F17
(4,15,23)
#040E15
(4,14,21)
#040D13
(4,13,19)
#040C11
(4,12,17)
#040B0F
(4,11,15)
#040A0D
(4,10,13)
#04090B
(4,9,11)
#040809
(4,8,9)
#040707
(4,7,7)
#040605
(4,6,5)
#040503
(4,5,3)
#000000
(0,0,0)

Tints of #040F17

#040F17
(4,15,23)
#1A242C
(26,36,44)
#303941
(48,57,65)
#464E56
(70,78,86)
#5C636B
(92,99,107)
#727880
(114,120,128)
#888D95
(136,141,149)
#9EA2AA
(158,162,170)
#B4B7BF
(180,183,191)
#CACCD4
(202,204,212)
#E0E1E9
(224,225,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040F17; }

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

This text font color is #040F17.


Background Color

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

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

This div background color is #040F17.


Border color

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

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

This div border color is #040F17.


Opacity

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

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

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

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

This text has shadow with #040F17 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040F17 on black background.


Color preview on white background

This text has color #040F17 on white background.



Black color preview on #040F17 background

This text has black color on #040F17 background.


White color preview on #040F17 background

This text has white color on #040F17 background.