COLOR #04001A

HEX: #04001A RGB: (4,0,26)

Color info

#04001A contains only red and blue colors. Web safe color of #04001A is #000000 (or #000).

RGB color model

#04001A color RGB value is (4,0,26).

RGB: (4,0,26) (2%, 0%, 10%)

RGB channels and saturation

R 4 of 255 = 2%
G 0 of 255 = 0%
B 26 of 255 = 10%

4
0
26

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

Portions of RGB colors in percentages

R + G + B = 4 + 0 + 26 = 30 (100%)
R 4 of 30 ~ 13.33%
G 0 of 30 ~ 0%
B 26 of 30 ~ 86.67'%

%13.33
%86.67

CMYK color model

#04001A color CMYK value is (85,100,0,90).

  • cyan value is 84.62%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 89.80%

CMYK: (85,100,0,90)
C85M100Y0K90 (85%, 100%, 0%, 90%)
(0.85 / 1.00 / 0.00 / 0.90)

CMYK percentages

%84.62
%100
%0
%89.8

Codes

Color #04001A in popluar color models

04 00 1A
RGB 4 0 26
HSL 249° 100.00% 5.10%
HSB/HSV 249° 100.00% 10.20%
CMYK 84.62% 100.00% 0.00%
89.80%

Color #04001A in popluar number systems.

HEX 04 00 1A
Decimal 4 0 26
Binary 100 0 11010
Octal 4 0 32

Shades and tints

Shades of #04001A

#04001A
(4,0,26)
#040018
(4,0,24)
#040016
(4,0,22)
#040014
(4,0,20)
#040012
(4,0,18)
#040010
(4,0,16)
#04000E
(4,0,14)
#04000C
(4,0,12)
#04000A
(4,0,10)
#040008
(4,0,8)
#040006
(4,0,6)
#000000
(0,0,0)

Tints of #04001A

#04001A
(4,0,26)
#1A172E
(26,23,46)
#302E42
(48,46,66)
#464556
(70,69,86)
#5C5C6A
(92,92,106)
#72737E
(114,115,126)
#888A92
(136,138,146)
#9EA1A6
(158,161,166)
#B4B8BA
(180,184,186)
#CACFCE
(202,207,206)
#E0E6E2
(224,230,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04001A color. Also use rgb(4,0,26) instead hex code.

Text Font Color

.myTextColor { color: #04001A; }

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

This text font color is #04001A.

Background Color

.myBgColor { background-color: #04001A; }

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

This div background color is #04001A.

Border color

.myBorderColor { border: 1px solid #04001A; }

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

This div border color is #04001A.

Opacity

.myOpacity80 { color: #04001A; opacity: 0.8; }

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

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

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

This text has shadow with #04001A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04001A.

Preview

Color preview on black background

This text has color #04001A on black background.


Color preview on white background

This text has color #04001A on white background.


Black color preview on #04001A background

This text has black color on #04001A background.


White color preview on #04001A background

This text has white color on #04001A background.


Related colors

Complementary color

Complementary color for #hex is #FBFFE5.


I love getcolorcode.com

Triadic colors

1 #1A0400 and #001A04 with #04001A are triadic colors.

2 #1A0004 and #00041A with #04001A are triadic colors.