COLOR #040815

HEX: #040815 RGB: (4,8,21)

Color info

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

RGB color model

#040815 color RGB value is (4,8,21).

RGB: (4,8,21) (2%, 3%, 8%)

RGB channels and saturation

R 4 of 255 = 2%
G 8 of 255 = 3%
B 21 of 255 = 8%

4
8
21

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

Portions of RGB colors in percentages

R + G + B = 4 + 8 + 21 = 33 (100%)
R 4 of 33 ~ 12.12%
G 8 of 33 ~ 24.24%
B 21 of 33 ~ 63.64'%

%12.12
%24.24
%63.64

CMYK color model

#040815 color CMYK value is (81,62,0,92).

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

CMYK: (81,62,0,92)
C81M62Y0K92 (81%, 62%, 0%, 92%)
(0.81 / 0.62 / 0.00 / 0.92)

CMYK percentages

%80.95
%61.9
%0
%91.76

Codes

Color #040815 in popluar color models

04 08 15
RGB 4 8 21
HSL 226° 68.00% 4.90%
HSB/HSV 226° 80.95% 8.24%
CMYK 80.95% 61.90% 0.00%
91.76%

Color #040815 in popluar number systems.

HEX 04 08 15
Decimal 4 8 21
Binary 100 1000 10101
Octal 4 10 25

Shades and tints

Shades of #040815

#040815
(4,8,21)
#040814
(4,8,20)
#040813
(4,8,19)
#040812
(4,8,18)
#040811
(4,8,17)
#040810
(4,8,16)
#04080F
(4,8,15)
#04080E
(4,8,14)
#04080D
(4,8,13)
#04080C
(4,8,12)
#04080B
(4,8,11)
#000000
(0,0,0)

Tints of #040815

#040815
(4,8,21)
#1A1E2A
(26,30,42)
#30343F
(48,52,63)
#464A54
(70,74,84)
#5C6069
(92,96,105)
#72767E
(114,118,126)
#888C93
(136,140,147)
#9EA2A8
(158,162,168)
#B4B8BD
(180,184,189)
#CACED2
(202,206,210)
#E0E4E7
(224,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040815; }

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

This text font color is #040815.

Background Color

.myBgColor { background-color: #040815; }

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

This div background color is #040815.

Border color

.myBorderColor { border: 1px solid #040815; }

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

This div border color is #040815.

Opacity

.myOpacity80 { color: #040815; opacity: 0.8; }

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

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

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

This text has shadow with #040815 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040815.

Preview

Color preview on black background

This text has color #040815 on black background.


Color preview on white background

This text has color #040815 on white background.


Black color preview on #040815 background

This text has black color on #040815 background.


White color preview on #040815 background

This text has white color on #040815 background.


Related colors

Complementary color

Complementary color for #hex is #FBF7EA.


I love getcolorcode.com

Triadic colors

1 #150408 and #081504 with #040815 are triadic colors.

2 #150804 and #080415 with #040815 are triadic colors.