COLOR #021340

HEX: #021340 RGB: (2,19,64)

Color info

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

RGB color model

#021340 color RGB value is (2,19,64).

RGB: (2,19,64) (1%, 7%, 25%)

RGB channels and saturation

R 2 of 255 = 1%
G 19 of 255 = 7%
B 64 of 255 = 25%

2
19
64

R + G + B ~ 11%. #021340 is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 19 + 64 = 85 (100%)
R 2 of 85 ~ 2.35%
G 19 of 85 ~ 22.35%
B 64 of 85 ~ 75.29'%

%22.35
%75.29

CMYK color model

#021340 color CMYK value is (97,70,0,75).

  • cyan value is 96.88%
  • magenta value is 70.31%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (97,70,0,75)
C97M70Y0K75 (97%, 70%, 0%, 75%)
(0.97 / 0.70 / 0.00 / 0.75)

CMYK percentages

%96.88
%70.31
%0
%74.9

Codes

Color #021340 in popluar color models

02 13 40
RGB 2 19 64
HSL 224° 93.94% 12.94%
HSB/HSV 224° 96.88% 25.10%
CMYK 96.88% 70.31% 0.00%
74.90%

Color #021340 in popluar number systems.

HEX 02 13 40
Decimal 2 19 64
Binary 10 10011 1000000
Octal 2 23 100

Shades and tints

Shades of #021340

#021340
(2,19,64)
#02123B
(2,18,59)
#021136
(2,17,54)
#021031
(2,16,49)
#020F2C
(2,15,44)
#020E27
(2,14,39)
#020D22
(2,13,34)
#020C1D
(2,12,29)
#020B18
(2,11,24)
#020A13
(2,10,19)
#02090E
(2,9,14)
#000000
(0,0,0)

Tints of #021340

#021340
(2,19,64)
#192851
(25,40,81)
#303D62
(48,61,98)
#475273
(71,82,115)
#5E6784
(94,103,132)
#757C95
(117,124,149)
#8C91A6
(140,145,166)
#A3A6B7
(163,166,183)
#BABBC8
(186,187,200)
#D1D0D9
(209,208,217)
#E8E5EA
(232,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #021340 color. Also use rgb(2,19,64) instead hex code.

Text Font Color

.myTextColor { color: #021340; }

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

This text font color is #021340.

Background Color

.myBgColor { background-color: #021340; }

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

This div background color is #021340.

Border color

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

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

This div border color is #021340.

Opacity

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

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

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

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

This text has shadow with #021340 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021340.

Preview

Color preview on black background

This text has color #021340 on black background.


Color preview on white background

This text has color #021340 on white background.


Black color preview on #021340 background

This text has black color on #021340 background.


White color preview on #021340 background

This text has white color on #021340 background.


Related colors

Complementary color

Complementary color for #hex is #FDECBF.


I love getcolorcode.com

Triadic colors

1 #400213 and #134002 with #021340 are triadic colors.

2 #401302 and #130240 with #021340 are triadic colors.