COLOR #021131

HEX: #021131 RGB: (2,17,49)

Color info

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

RGB color model

#021131 color RGB value is (2,17,49).

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

RGB channels and saturation

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

2
17
49

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

Portions of RGB colors in percentages

R + G + B = 2 + 17 + 49 = 68 (100%)
R 2 of 68 ~ 2.94%
G 17 of 68 ~ 25%
B 49 of 68 ~ 72.06'%

%25
%72.06

CMYK color model

#021131 color CMYK value is (96,65,0,81).

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

CMYK: (96,65,0,81)
C96M65Y0K81 (96%, 65%, 0%, 81%)
(0.96 / 0.65 / 0.00 / 0.81)

CMYK percentages

%95.92
%65.31
%0
%80.78

Codes

Color #021131 in popluar color models

02 11 31
RGB 2 17 49
HSL 221° 92.16% 10.00%
HSB/HSV 221° 95.92% 19.22%
CMYK 95.92% 65.31% 0.00%
80.78%

Color #021131 in popluar number systems.

HEX 02 11 31
Decimal 2 17 49
Binary 10 10001 110001
Octal 2 21 61

Shades and tints

Shades of #021131

#021131
(2,17,49)
#02102D
(2,16,45)
#020F29
(2,15,41)
#020E25
(2,14,37)
#020D21
(2,13,33)
#020C1D
(2,12,29)
#020B19
(2,11,25)
#020A15
(2,10,21)
#020911
(2,9,17)
#02080D
(2,8,13)
#020709
(2,7,9)
#000000
(0,0,0)

Tints of #021131

#021131
(2,17,49)
#192643
(25,38,67)
#303B55
(48,59,85)
#475067
(71,80,103)
#5E6579
(94,101,121)
#757A8B
(117,122,139)
#8C8F9D
(140,143,157)
#A3A4AF
(163,164,175)
#BAB9C1
(186,185,193)
#D1CED3
(209,206,211)
#E8E3E5
(232,227,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #021131; }

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

This text font color is #021131.

Background Color

.myBgColor { background-color: #021131; }

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

This div background color is #021131.

Border color

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

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

This div border color is #021131.

Opacity

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

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

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

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

This text has shadow with #021131 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021131.

Preview

Color preview on black background

This text has color #021131 on black background.


Color preview on white background

This text has color #021131 on white background.


Black color preview on #021131 background

This text has black color on #021131 background.


White color preview on #021131 background

This text has white color on #021131 background.


Related colors

Complementary color

Complementary color for #hex is #FDEECE.


I love getcolorcode.com

Triadic colors

1 #310211 and #113102 with #021131 are triadic colors.

2 #311102 and #110231 with #021131 are triadic colors.