COLOR #040420

HEX: #040420 RGB: (4,4,32)

Color info

#040420 contains red, green and blue colors in about the same proportion. Web safe color of #040420 is #000033 (or #003).

RGB color model

#040420 color RGB value is (4,4,32).

RGB: (4,4,32) (2%, 2%, 13%)

RGB channels and saturation

R 4 of 255 = 2%
G 4 of 255 = 2%
B 32 of 255 = 13%

4
4
32

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

Portions of RGB colors in percentages

R + G + B = 4 + 4 + 32 = 40 (100%)
R 4 of 40 ~ 10%
G 4 of 40 ~ 10%
B 32 of 40 ~ 80'%

%80

CMYK color model

#040420 color CMYK value is (88,88,0,87).

  • cyan value is 87.50%
  • magenta value is 87.50%
  • yellow value is 0.00%
  • key color value is 87.45%

CMYK: (88,88,0,87)
C88M88Y0K87 (88%, 88%, 0%, 87%)
(0.88 / 0.88 / 0.00 / 0.87)

CMYK percentages

%87.5
%87.5
%0
%87.45

Codes

Color #040420 in popluar color models

04 04 20
RGB 4 4 32
HSL 240° 77.78% 7.06%
HSB/HSV 240° 87.50% 12.55%
CMYK 87.50% 87.50% 0.00%
87.45%

Color #040420 in popluar number systems.

HEX 04 04 20
Decimal 4 4 32
Binary 100 100 100000
Octal 4 4 40

Shades and tints

Shades of #040420

#040420
(4,4,32)
#04041E
(4,4,30)
#04041C
(4,4,28)
#04041A
(4,4,26)
#040418
(4,4,24)
#040416
(4,4,22)
#040414
(4,4,20)
#040412
(4,4,18)
#040410
(4,4,16)
#04040E
(4,4,14)
#04040C
(4,4,12)
#000000
(0,0,0)

Tints of #040420

#040420
(4,4,32)
#1A1A34
(26,26,52)
#303048
(48,48,72)
#46465C
(70,70,92)
#5C5C70
(92,92,112)
#727284
(114,114,132)
#888898
(136,136,152)
#9E9EAC
(158,158,172)
#B4B4C0
(180,180,192)
#CACAD4
(202,202,212)
#E0E0E8
(224,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040420; }

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

This text font color is #040420.

Background Color

.myBgColor { background-color: #040420; }

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

This div background color is #040420.

Border color

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

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

This div border color is #040420.

Opacity

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

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

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

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

This text has shadow with #040420 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040420.

Preview

Color preview on black background

This text has color #040420 on black background.


Color preview on white background

This text has color #040420 on white background.


Black color preview on #040420 background

This text has black color on #040420 background.


White color preview on #040420 background

This text has white color on #040420 background.


Related colors

Complementary color

Complementary color for #hex is #FBFBDF.


I love getcolorcode.com