COLOR #021004

HEX: #021004 RGB: (2,16,4)

Color info

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

RGB color model

#021004 color RGB value is (2,16,4).

RGB: (2,16,4) (1%, 6%, 2%)

RGB channels and saturation

R 2 of 255 = 1%
G 16 of 255 = 6%
B 4 of 255 = 2%

2
16
4

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

Portions of RGB colors in percentages

R + G + B = 2 + 16 + 4 = 22 (100%)
R 2 of 22 ~ 9.09%
G 16 of 22 ~ 72.73%
B 4 of 22 ~ 18.18'%

%72.73
%18.18

CMYK color model

#021004 color CMYK value is (88,0,75,94).

  • cyan value is 87.50%
  • magenta value is 0.00%
  • yellow value is 75.00%
  • key color value is 93.73%
CMYK: (88,0,75,94) C88M0Y75K94 (88%,0%,75%,94%) (0.88/0.00/0.75/0.94) 

CMYK percentages

%87.5
%0
%75
%93.73

Codes

Color #021004 in popluar color models

02 10 04
RGB 2 16 4
HSL 129° 77.78% 3.53%
HSB/HSV 129° 87.50% 6.27%
CMYK 87.50% 0.00% 75.00%
93.73%

Color #021004 in popluar number systems.

HEX 02 10 04
Decimal 2 16 4
Binary 10 10000 100
Octal 2 20 4

Shades and tints

Shades of #021004

#021004
(2,16,4)
#020F04
(2,15,4)
#020E04
(2,14,4)
#020D04
(2,13,4)
#020C04
(2,12,4)
#020B04
(2,11,4)
#020A04
(2,10,4)
#020904
(2,9,4)
#020804
(2,8,4)
#020704
(2,7,4)
#020604
(2,6,4)
#000000
(0,0,0)

Tints of #021004

#021004
(2,16,4)
#19251A
(25,37,26)
#303A30
(48,58,48)
#474F46
(71,79,70)
#5E645C
(94,100,92)
#757972
(117,121,114)
#8C8E88
(140,142,136)
#A3A39E
(163,163,158)
#BAB8B4
(186,184,180)
#D1CDCA
(209,205,202)
#E8E2E0
(232,226,224)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #021004; }

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

This text font color is #021004.

Background Color

.myBgColor { background-color: #021004; }

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

This div background color is #021004.

Border color

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

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

This div border color is #021004.

Opacity

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

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

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

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

This text has shadow with #021004 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021004.

Preview

Color preview on black background

This text has color #021004 on black background.


Color preview on white background

This text has color #021004 on white background.


Black color preview on #021004 background

This text has black color on #021004 background.


White color preview on #021004 background

This text has white color on #021004 background.


Related colors

Complementary color

Complementary color for #hex is #FDEFFB.


I love getcolorcode.com

Triadic colors

1 #040210 and #100402 with #021004 are triadic colors.

2 #041002 and #100204 with #021004 are triadic colors.