COLOR #040F11

HEX: #040F11
RGB: (4,15,17)

Color info

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

RGB color model

#040F11 color RGB value is (4,15,17).

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

RGB channels and saturation

R 4 of 255 = 2%
G 15 of 255 = 6%
B 17 of 255 = 7%

4
15
17

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

Portions of RGB colors in percentages

R + G + B =
4 + 15 + 17 = 36 (100%)
R 4 of 36 ~ 11.11%
G 15 of 36 ~ 41.67%
B 17 of 36 ~ 47.22%

%11.11
%41.67
%47.22

CMYK color model

#040F11 color CMYK value is (76,12,0,93).

  • cyan value is 76.47%
  • magenta value is 11.76%
  • yellow value is 0.00%
  • key color value is 93.33%
CMYK:
(76,12,0,93)
C76M12Y0K93 
(76%,12%,0%,93%)
(0.76/0.12/0.00/0.93)	

CMYK percentages

%76.47
%11.76
%0
%93.33

Codes

Color #040F11 in popluar color models

040F11
RGB41517
HSL189°61.90%4.12%
HSB/HSV189°76.47%6.67%
CMYK76.47%11.76%0.00%
93.33%

Color #040F11 in popluar number systems.

HEX040F11
Decimal41517
Binary100111110001
Octal41721

Shades and tints

Shades of #040F11

#040F11
(4,15,17)
#040E10
(4,14,16)
#040D0F
(4,13,15)
#040C0E
(4,12,14)
#040B0D
(4,11,13)
#040A0C
(4,10,12)
#04090B
(4,9,11)
#04080A
(4,8,10)
#040709
(4,7,9)
#040608
(4,6,8)
#040507
(4,5,7)
#000000
(0,0,0)

Tints of #040F11

#040F11
(4,15,17)
#1A2426
(26,36,38)
#30393B
(48,57,59)
#464E50
(70,78,80)
#5C6365
(92,99,101)
#72787A
(114,120,122)
#888D8F
(136,141,143)
#9EA2A4
(158,162,164)
#B4B7B9
(180,183,185)
#CACCCE
(202,204,206)
#E0E1E3
(224,225,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040F11; }

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

This text font color is #040F11.


Background Color

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

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

This div background color is #040F11.


Border color

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

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

This div border color is #040F11.


Opacity

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

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

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

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

This text has shadow with #040F11 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040F11 on black background.


Color preview on white background

This text has color #040F11 on white background.



Black color preview on #040F11 background

This text has black color on #040F11 background.


White color preview on #040F11 background

This text has white color on #040F11 background.