COLOR #021CB6

HEX: #021CB6
RGB: (2,28,182)

Color info

#021CB6 contains mainly blue color. Web safe color of #021CB6 is #0033CC (or #03C).

RGB color model

#021CB6 color RGB value is (2,28,182).

  • red value is 2;
  • green value is 28;
  • blue value is 182.
RGB:
(2,28,182)
(1%,11%,71%)

RGB channels and saturation

R 2 of 255 = 1%
G 28 of 255 = 11%
B 182 of 255 = 71%

2
28
182

R + G + B ~ 28%. #021CB6 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 28 + 182 = 212 (100%)
R 2 of 212 ~ 0.94%
G 28 of 212 ~ 13.21%
B 182 of 212 ~ 85.85%

%13.21
%85.85

CMYK color model

#021CB6 color CMYK value is (99,85,0,29).

  • cyan value is 98.90%
  • magenta value is 84.62%
  • yellow value is 0.00%
  • key color value is 28.63%
CMYK:
(99,85,0,29)
C99M85Y0K29 
(99%,85%,0%,29%)
(0.99/0.85/0.00/0.29)	

CMYK percentages

%98.9
%84.62
%0
%28.63

Codes

Color #021CB6 in popluar color models

021CB6
RGB228182
HSL231°97.83%36.08%
HSB/HSV231°98.90%71.37%
CMYK98.90%84.62%0.00%
28.63%

Color #021CB6 in popluar number systems.

HEX021CB6
Decimal228182
Binary101110010110110
Octal234266

Shades and tints

Shades of #021CB6

#021CB6
(2,28,182)
#021AA6
(2,26,166)
#021896
(2,24,150)
#021686
(2,22,134)
#021476
(2,20,118)
#021266
(2,18,102)
#021056
(2,16,86)
#020E46
(2,14,70)
#020C36
(2,12,54)
#020A26
(2,10,38)
#020816
(2,8,22)
#000000
(0,0,0)

Tints of #021CB6

#021CB6
(2,28,182)
#1930BC
(25,48,188)
#3044C2
(48,68,194)
#4758C8
(71,88,200)
#5E6CCE
(94,108,206)
#7580D4
(117,128,212)
#8C94DA
(140,148,218)
#A3A8E0
(163,168,224)
#BABCE6
(186,188,230)
#D1D0EC
(209,208,236)
#E8E4F2
(232,228,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #021CB6; }

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

This text font color is #021CB6.


Background Color

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

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

This div background color is #021CB6.


Border color

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

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

This div border color is #021CB6.


Opacity

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

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

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

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

This text has shadow with #021CB6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #021CB6 on black background.


Color preview on white background

This text has color #021CB6 on white background.



Black color preview on #021CB6 background

This text has black color on #021CB6 background.


White color preview on #021CB6 background

This text has white color on #021CB6 background.