COLOR #040D0F

HEX: #040D0F RGB: (4,13,15)

Color info

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

RGB color model

#040D0F color RGB value is (4,13,15).

RGB: (4,13,15) (2%, 5%, 6%)

RGB channels and saturation

R 4 of 255 = 2%
G 13 of 255 = 5%
B 15 of 255 = 6%

4
13
15

R + G + B ~ 4%. #040D0F is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 13 + 15 = 32 (100%)
R 4 of 32 ~ 12.5%
G 13 of 32 ~ 40.63%
B 15 of 32 ~ 46.88'%

%12.5
%40.63
%46.88

CMYK color model

#040D0F color CMYK value is (73,13,0,94).

  • cyan value is 73.33%
  • magenta value is 13.33%
  • yellow value is 0.00%
  • key color value is 94.12%
CMYK: (73,13,0,94) C73M13Y0K94 (73%,13%,0%,94%) (0.73/0.13/0.00/0.94) 

CMYK percentages

%73.33
%13.33
%0
%94.12

Codes

Color #040D0F in popluar color models

04 0D 0F
RGB 4 13 15
HSL 191° 57.89% 3.73%
HSB/HSV 191° 73.33% 5.88%
CMYK 73.33% 13.33% 0.00%
94.12%

Color #040D0F in popluar number systems.

HEX 04 0D 0F
Decimal 4 13 15
Binary 100 1101 1111
Octal 4 15 17

Shades and tints

Shades of #040D0F

#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)
#040406
(4,4,6)
#040305
(4,3,5)
#000000
(0,0,0)

Tints of #040D0F

#040D0F
(4,13,15)
#1A2324
(26,35,36)
#303939
(48,57,57)
#464F4E
(70,79,78)
#5C6563
(92,101,99)
#727B78
(114,123,120)
#88918D
(136,145,141)
#9EA7A2
(158,167,162)
#B4BDB7
(180,189,183)
#CAD3CC
(202,211,204)
#E0E9E1
(224,233,225)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040D0F; }

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

This text font color is #040D0F.

Background Color

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

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

This div background color is #040D0F.

Border color

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

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

This div border color is #040D0F.

Opacity

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

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

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

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

This text has shadow with #040D0F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040D0F.

Preview

Color preview on black background

This text has color #040D0F on black background.


Color preview on white background

This text has color #040D0F on white background.


Black color preview on #040D0F background

This text has black color on #040D0F background.


White color preview on #040D0F background

This text has white color on #040D0F background.


Related colors

Complementary color

Complementary color for #hex is #FBF2F0.


I love getcolorcode.com

Triadic colors

1 #0F040D and #0D0F04 with #040D0F are triadic colors.

2 #0F0D04 and #0D040F with #040D0F are triadic colors.