COLOR #021221

HEX: #021221 RGB: (2,18,33)

Color info

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

RGB color model

#021221 color RGB value is (2,18,33).

RGB: (2,18,33) (1%, 7%, 13%)

RGB channels and saturation

R 2 of 255 = 1%
G 18 of 255 = 7%
B 33 of 255 = 13%

2
18
33

R + G + B ~ 7%. #021221 is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 18 + 33 = 53 (100%)
R 2 of 53 ~ 3.77%
G 18 of 53 ~ 33.96%
B 33 of 53 ~ 62.26'%

%33.96
%62.26

CMYK color model

#021221 color CMYK value is (94,45,0,87).

  • cyan value is 93.94%
  • magenta value is 45.45%
  • yellow value is 0.00%
  • key color value is 87.06%

CMYK: (94,45,0,87)
C94M45Y0K87 (94%, 45%, 0%, 87%)
(0.94 / 0.45 / 0.00 / 0.87)

CMYK percentages

%93.94
%45.45
%0
%87.06

Codes

Color #021221 in popluar color models

02 12 21
RGB 2 18 33
HSL 209° 88.57% 6.86%
HSB/HSV 209° 93.94% 12.94%
CMYK 93.94% 45.45% 0.00%
87.06%

Color #021221 in popluar number systems.

HEX 02 12 21
Decimal 2 18 33
Binary 10 10010 100001
Octal 2 22 41

Shades and tints

Shades of #021221

#021221
(2,18,33)
#02111E
(2,17,30)
#02101B
(2,16,27)
#020F18
(2,15,24)
#020E15
(2,14,21)
#020D12
(2,13,18)
#020C0F
(2,12,15)
#020B0C
(2,11,12)
#020A09
(2,10,9)
#020906
(2,9,6)
#020803
(2,8,3)
#000000
(0,0,0)

Tints of #021221

#021221
(2,18,33)
#192735
(25,39,53)
#303C49
(48,60,73)
#47515D
(71,81,93)
#5E6671
(94,102,113)
#757B85
(117,123,133)
#8C9099
(140,144,153)
#A3A5AD
(163,165,173)
#BABAC1
(186,186,193)
#D1CFD5
(209,207,213)
#E8E4E9
(232,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #021221 color. Also use rgb(2,18,33) instead hex code.

Text Font Color

.myTextColor { color: #021221; }

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

This text font color is #021221.

Background Color

.myBgColor { background-color: #021221; }

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

This div background color is #021221.

Border color

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

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

This div border color is #021221.

Opacity

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

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

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

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

This text has shadow with #021221 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021221.

Preview

Color preview on black background

This text has color #021221 on black background.


Color preview on white background

This text has color #021221 on white background.


Black color preview on #021221 background

This text has black color on #021221 background.


White color preview on #021221 background

This text has white color on #021221 background.


Related colors

Complementary color

Complementary color for #hex is #FDEDDE.


I love getcolorcode.com

Triadic colors

1 #210212 and #122102 with #021221 are triadic colors.

2 #211202 and #120221 with #021221 are triadic colors.