COLOR #021442

HEX: #021442 RGB: (2,20,66)

Color info

#021442 contains mainly green and blue colors. Web safe color of #021442 is #000033 (or #003).

RGB color model

#021442 color RGB value is (2,20,66).

RGB: (2,20,66) (1%, 8%, 26%)

RGB channels and saturation

R 2 of 255 = 1%
G 20 of 255 = 8%
B 66 of 255 = 26%

2
20
66

R + G + B ~ 12%. #021442 is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 20 + 66 = 88 (100%)
R 2 of 88 ~ 2.27%
G 20 of 88 ~ 22.73%
B 66 of 88 ~ 75'%

%22.73
%75

CMYK color model

#021442 color CMYK value is (97,70,0,74).

  • cyan value is 96.97%
  • magenta value is 69.70%
  • yellow value is 0.00%
  • key color value is 74.12%

CMYK: (97,70,0,74)
C97M70Y0K74 (97%, 70%, 0%, 74%)
(0.97 / 0.70 / 0.00 / 0.74)

CMYK percentages

%96.97
%69.7
%0
%74.12

Codes

Color #021442 in popluar color models

02 14 42
RGB 2 20 66
HSL 223° 94.12% 13.33%
HSB/HSV 223° 96.97% 25.88%
CMYK 96.97% 69.70% 0.00%
74.12%

Color #021442 in popluar number systems.

HEX 02 14 42
Decimal 2 20 66
Binary 10 10100 1000010
Octal 2 24 102

Shades and tints

Shades of #021442

#021442
(2,20,66)
#02133C
(2,19,60)
#021236
(2,18,54)
#021130
(2,17,48)
#02102A
(2,16,42)
#020F24
(2,15,36)
#020E1E
(2,14,30)
#020D18
(2,13,24)
#020C12
(2,12,18)
#020B0C
(2,11,12)
#020A06
(2,10,6)
#000000
(0,0,0)

Tints of #021442

#021442
(2,20,66)
#192953
(25,41,83)
#303E64
(48,62,100)
#475375
(71,83,117)
#5E6886
(94,104,134)
#757D97
(117,125,151)
#8C92A8
(140,146,168)
#A3A7B9
(163,167,185)
#BABCCA
(186,188,202)
#D1D1DB
(209,209,219)
#E8E6EC
(232,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #021442 color. Also use rgb(2,20,66) instead hex code.

Text Font Color

.myTextColor { color: #021442; }

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

This text font color is #021442.

Background Color

.myBgColor { background-color: #021442; }

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

This div background color is #021442.

Border color

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

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

This div border color is #021442.

Opacity

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

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

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

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

This text has shadow with #021442 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021442.

Preview

Color preview on black background

This text has color #021442 on black background.


Color preview on white background

This text has color #021442 on white background.


Black color preview on #021442 background

This text has black color on #021442 background.


White color preview on #021442 background

This text has white color on #021442 background.


Related colors

Complementary color

Complementary color for #hex is #FDEBBD.


I love getcolorcode.com

Triadic colors

1 #420214 and #144202 with #021442 are triadic colors.

2 #421402 and #140242 with #021442 are triadic colors.