COLOR #040D15

HEX: #040D15 RGB: (4,13,21)

Color info

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

RGB color model

#040D15 color RGB value is (4,13,21).

RGB: (4,13,21) (2%, 5%, 8%)

RGB channels and saturation

R 4 of 255 = 2%
G 13 of 255 = 5%
B 21 of 255 = 8%

4
13
21

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

Portions of RGB colors in percentages

R + G + B = 4 + 13 + 21 = 38 (100%)
R 4 of 38 ~ 10.53%
G 13 of 38 ~ 34.21%
B 21 of 38 ~ 55.26'%

%10.53
%34.21
%55.26

CMYK color model

#040D15 color CMYK value is (81,38,0,92).

  • cyan value is 80.95%
  • magenta value is 38.10%
  • yellow value is 0.00%
  • key color value is 91.76%

CMYK: (81,38,0,92)
C81M38Y0K92 (81%, 38%, 0%, 92%)
(0.81 / 0.38 / 0.00 / 0.92)

CMYK percentages

%80.95
%38.1
%0
%91.76

Codes

Color #040D15 in popluar color models

04 0D 15
RGB 4 13 21
HSL 208° 68.00% 4.90%
HSB/HSV 208° 80.95% 8.24%
CMYK 80.95% 38.10% 0.00%
91.76%

Color #040D15 in popluar number systems.

HEX 04 0D 15
Decimal 4 13 21
Binary 100 1101 10101
Octal 4 15 25

Shades and tints

Shades of #040D15

#040D15
(4,13,21)
#040C14
(4,12,20)
#040B13
(4,11,19)
#040A12
(4,10,18)
#040911
(4,9,17)
#040810
(4,8,16)
#04070F
(4,7,15)
#04060E
(4,6,14)
#04050D
(4,5,13)
#04040C
(4,4,12)
#04030B
(4,3,11)
#000000
(0,0,0)

Tints of #040D15

#040D15
(4,13,21)
#1A232A
(26,35,42)
#30393F
(48,57,63)
#464F54
(70,79,84)
#5C6569
(92,101,105)
#727B7E
(114,123,126)
#889193
(136,145,147)
#9EA7A8
(158,167,168)
#B4BDBD
(180,189,189)
#CAD3D2
(202,211,210)
#E0E9E7
(224,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040D15; }

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

This text font color is #040D15.

Background Color

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

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

This div background color is #040D15.

Border color

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

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

This div border color is #040D15.

Opacity

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

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

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

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

This text has shadow with #040D15 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040D15.

Preview

Color preview on black background

This text has color #040D15 on black background.


Color preview on white background

This text has color #040D15 on white background.


Black color preview on #040D15 background

This text has black color on #040D15 background.


White color preview on #040D15 background

This text has white color on #040D15 background.


Related colors

Complementary color

Complementary color for #hex is #FBF2EA.


I love getcolorcode.com

Triadic colors

1 #15040D and #0D1504 with #040D15 are triadic colors.

2 #150D04 and #0D0415 with #040D15 are triadic colors.