COLOR #04020D

HEX: #04020D
RGB: (4,2,13)

Color info

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

RGB color model

#04020D color RGB value is (4,2,13).

  • red value is 4;
  • green value is 2;
  • blue value is 13.
RGB:
(4,2,13)
(2%,1%,5%)

RGB channels and saturation

R 4 of 255 = 2%
G 2 of 255 = 1%
B 13 of 255 = 5%

4
2
13

R + G + B ~ 3%. #04020D is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 2 + 13 = 19 (100%)
R 4 of 19 ~ 21.05%
G 2 of 19 ~ 10.53%
B 13 of 19 ~ 68.42%

%21.05
%10.53
%68.42

CMYK color model

#04020D color CMYK value is (69,85,0,95).

  • cyan value is 69.23%
  • magenta value is 84.62%
  • yellow value is 0.00%
  • key color value is 94.90%
CMYK:
(69,85,0,95)
C69M85Y0K95 
(69%,85%,0%,95%)
(0.69/0.85/0.00/0.95)	

CMYK percentages

%69.23
%84.62
%0
%94.9

Codes

Color #04020D in popluar color models

04020D
RGB4213
HSL251°73.33%2.94%
HSB/HSV251°84.62%5.10%
CMYK69.23%84.62%0.00%
94.90%

Color #04020D in popluar number systems.

HEX04020D
Decimal4213
Binary100101101
Octal4215

Shades and tints

Shades of #04020D

#04020D
(4,2,13)
#04020C
(4,2,12)
#04020B
(4,2,11)
#04020A
(4,2,10)
#040209
(4,2,9)
#040208
(4,2,8)
#040207
(4,2,7)
#040206
(4,2,6)
#040205
(4,2,5)
#040204
(4,2,4)
#040203
(4,2,3)
#000000
(0,0,0)

Tints of #04020D

#04020D
(4,2,13)
#1A1923
(26,25,35)
#303039
(48,48,57)
#46474F
(70,71,79)
#5C5E65
(92,94,101)
#72757B
(114,117,123)
#888C91
(136,140,145)
#9EA3A7
(158,163,167)
#B4BABD
(180,186,189)
#CAD1D3
(202,209,211)
#E0E8E9
(224,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04020D color. Also use rgb(4,2,13) instead hex code.

Text Font Color

.myTextColor { color: #04020D; }

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

This text font color is #04020D.


Background Color

.myBgColor { background-color: #04020D; }

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

This div background color is #04020D.


Border color

.myBorderColor { border: 1px solid #04020D; }

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

This div border color is #04020D.


Opacity

.myOpacity80 { color: #04020D; opacity: 0.8; }

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

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

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

This text has shadow with #04020D color.

.textShadow {text-shadow: 3px 3px 1px #04020D, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04020D;
-webkit-box-shadow: 1px 1px 3px 2px #04020D;
box-shadow:1px 1px 3px 2px #04020D;">
Div content here</div>
This div box has shadow with color #04020D.

Preview

Color preview on black background

This text has color #04020D on black background.


Color preview on white background

This text has color #04020D on white background.



Black color preview on #04020D background

This text has black color on #04020D background.


White color preview on #04020D background

This text has white color on #04020D background.