COLOR #04020A

HEX: #04020A
RGB: (4,2,10)

Color info

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

RGB color model

#04020A color RGB value is (4,2,10).

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

RGB channels and saturation

R 4 of 255 = 2%
G 2 of 255 = 1%
B 10 of 255 = 4%

4
2
10

R + G + B ~ 2%. #04020A is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 2 + 10 = 16 (100%)
R 4 of 16 ~ 25%
G 2 of 16 ~ 12.5%
B 10 of 16 ~ 62.5%

%25
%12.5
%62.5

CMYK color model

#04020A color CMYK value is (60,80,0,96).

  • cyan value is 60.00%
  • magenta value is 80.00%
  • yellow value is 0.00%
  • key color value is 96.08%
CMYK:
(60,80,0,96)
C60M80Y0K96 
(60%,80%,0%,96%)
(0.60/0.80/0.00/0.96)	

CMYK percentages

%60
%80
%0
%96.08

Codes

Color #04020A in popluar color models

04020A
RGB4210
HSL255°66.67%2.35%
HSB/HSV255°80.00%3.92%
CMYK60.00%80.00%0.00%
96.08%

Color #04020A in popluar number systems.

HEX04020A
Decimal4210
Binary100101010
Octal4212

Shades and tints

Tints of #04020A

#04020A
(4,2,10)
#1A1920
(26,25,32)
#303036
(48,48,54)
#46474C
(70,71,76)
#5C5E62
(92,94,98)
#727578
(114,117,120)
#888C8E
(136,140,142)
#9EA3A4
(158,163,164)
#B4BABA
(180,186,186)
#CAD1D0
(202,209,208)
#E0E8E6
(224,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #04020A; }

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

This text font color is #04020A.


Background Color

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

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

This div background color is #04020A.


Border color

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

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

This div border color is #04020A.


Opacity

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

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

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

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

This text has shadow with #04020A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04020A on black background.


Color preview on white background

This text has color #04020A on white background.



Black color preview on #04020A background

This text has black color on #04020A background.


White color preview on #04020A background

This text has white color on #04020A background.