COLOR #021C76

HEX: #021C76 RGB: (2,28,118)

Color info

#021C76 contains mainly blue color. Web safe color of #021C76 is #003366 (or #036).

RGB color model

#021C76 color RGB value is (2,28,118).

RGB: (2,28,118) (1%, 11%, 46%)

RGB channels and saturation

R 2 of 255 = 1%
G 28 of 255 = 11%
B 118 of 255 = 46%

2
28
118

R + G + B ~ 19%. #021C76 is dark color.

Portions of RGB colors in percentages

R + G + B = 2 + 28 + 118 = 148 (100%)
R 2 of 148 ~ 1.35%
G 28 of 148 ~ 18.92%
B 118 of 148 ~ 79.73'%

%18.92
%79.73

CMYK color model

#021C76 color CMYK value is (98,76,0,54).

  • cyan value is 98.31%
  • magenta value is 76.27%
  • yellow value is 0.00%
  • key color value is 53.73%

CMYK: (98,76,0,54)
C98M76Y0K54 (98%, 76%, 0%, 54%)
(0.98 / 0.76 / 0.00 / 0.54)

CMYK percentages

%98.31
%76.27
%0
%53.73

Codes

Color #021C76 in popluar color models

02 1C 76
RGB 2 28 118
HSL 227° 96.67% 23.53%
HSB/HSV 227° 98.31% 46.27%
CMYK 98.31% 76.27% 0.00%
53.73%

Color #021C76 in popluar number systems.

HEX 02 1C 76
Decimal 2 28 118
Binary 10 11100 1110110
Octal 2 34 166

Shades and tints

Shades of #021C76

#021C76
(2,28,118)
#021A6C
(2,26,108)
#021862
(2,24,98)
#021658
(2,22,88)
#02144E
(2,20,78)
#021244
(2,18,68)
#02103A
(2,16,58)
#020E30
(2,14,48)
#020C26
(2,12,38)
#020A1C
(2,10,28)
#020812
(2,8,18)
#000000
(0,0,0)

Tints of #021C76

#021C76
(2,28,118)
#193082
(25,48,130)
#30448E
(48,68,142)
#47589A
(71,88,154)
#5E6CA6
(94,108,166)
#7580B2
(117,128,178)
#8C94BE
(140,148,190)
#A3A8CA
(163,168,202)
#BABCD6
(186,188,214)
#D1D0E2
(209,208,226)
#E8E4EE
(232,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #021C76 color. Also use rgb(2,28,118) instead hex code.

Text Font Color

.myTextColor { color: #021C76; }

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

This text font color is #021C76.

Background Color

.myBgColor { background-color: #021C76; }

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

This div background color is #021C76.

Border color

.myBorderColor { border: 1px solid #021C76; }

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

This div border color is #021C76.

Opacity

.myOpacity80 { color: #021C76; opacity: 0.8; }

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

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

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

This text has shadow with #021C76 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #021C76.

Preview

Color preview on black background

This text has color #021C76 on black background.


Color preview on white background

This text has color #021C76 on white background.


Black color preview on #021C76 background

This text has black color on #021C76 background.


White color preview on #021C76 background

This text has white color on #021C76 background.


Related colors

Complementary color

Complementary color for #hex is #FDE389.


I love getcolorcode.com

Triadic colors

1 #76021C and #1C7602 with #021C76 are triadic colors.

2 #761C02 and #1C0276 with #021C76 are triadic colors.