COLOR #021331

HEX: #021331 RGB: (2,19,49)

Color info

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

RGB color model

#021331 color RGB value is (2,19,49).

RGB: (2,19,49) (1%, 7%, 19%)

RGB channels and saturation

R 2 of 255 = 1%
G 19 of 255 = 7%
B 49 of 255 = 19%

2
19
49

R + G + B ~ 9%. #021331 is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 19 + 49 = 70 (100%)
R 2 of 70 ~ 2.86%
G 19 of 70 ~ 27.14%
B 49 of 70 ~ 70'%

%27.14
%70

CMYK color model

#021331 color CMYK value is (96,61,0,81).

  • cyan value is 95.92%
  • magenta value is 61.22%
  • yellow value is 0.00%
  • key color value is 80.78%

CMYK: (96,61,0,81)
C96M61Y0K81 (96%, 61%, 0%, 81%)
(0.96 / 0.61 / 0.00 / 0.81)

CMYK percentages

%95.92
%61.22
%0
%80.78

Codes

Color #021331 in popluar color models

02 13 31
RGB 2 19 49
HSL 218° 92.16% 10.00%
HSB/HSV 218° 95.92% 19.22%
CMYK 95.92% 61.22% 0.00%
80.78%

Color #021331 in popluar number systems.

HEX 02 13 31
Decimal 2 19 49
Binary 10 10011 110001
Octal 2 23 61

Shades and tints

Shades of #021331

#021331
(2,19,49)
#02122D
(2,18,45)
#021129
(2,17,41)
#021025
(2,16,37)
#020F21
(2,15,33)
#020E1D
(2,14,29)
#020D19
(2,13,25)
#020C15
(2,12,21)
#020B11
(2,11,17)
#020A0D
(2,10,13)
#020909
(2,9,9)
#000000
(0,0,0)

Tints of #021331

#021331
(2,19,49)
#192843
(25,40,67)
#303D55
(48,61,85)
#475267
(71,82,103)
#5E6779
(94,103,121)
#757C8B
(117,124,139)
#8C919D
(140,145,157)
#A3A6AF
(163,166,175)
#BABBC1
(186,187,193)
#D1D0D3
(209,208,211)
#E8E5E5
(232,229,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #021331; }

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

This text font color is #021331.

Background Color

.myBgColor { background-color: #021331; }

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

This div background color is #021331.

Border color

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

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

This div border color is #021331.

Opacity

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

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

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

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

This text has shadow with #021331 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021331.

Preview

Color preview on black background

This text has color #021331 on black background.


Color preview on white background

This text has color #021331 on white background.


Black color preview on #021331 background

This text has black color on #021331 background.


White color preview on #021331 background

This text has white color on #021331 background.


Related colors

Complementary color

Complementary color for #hex is #FDECCE.


I love getcolorcode.com

Triadic colors

1 #310213 and #133102 with #021331 are triadic colors.

2 #311302 and #130231 with #021331 are triadic colors.