COLOR #021B6A

HEX: #021B6A
RGB: (2,27,106)

Color info

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

RGB color model

#021B6A color RGB value is (2,27,106).

  • red value is 2;
  • green value is 27;
  • blue value is 106.
RGB:
(2,27,106)
(1%,11%,42%)

RGB channels and saturation

R 2 of 255 = 1%
G 27 of 255 = 11%
B 106 of 255 = 42%

2
27
106

R + G + B ~ 18%. #021B6A is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 27 + 106 = 135 (100%)
R 2 of 135 ~ 1.48%
G 27 of 135 ~ 20%
B 106 of 135 ~ 78.52%

%20
%78.52

CMYK color model

#021B6A color CMYK value is (98,75,0,58).

  • cyan value is 98.11%
  • magenta value is 74.53%
  • yellow value is 0.00%
  • key color value is 58.43%
CMYK:
(98,75,0,58)
C98M75Y0K58 
(98%,75%,0%,58%)
(0.98/0.75/0.00/0.58)	

CMYK percentages

%98.11
%74.53
%0
%58.43

Codes

Color #021B6A in popluar color models

021B6A
RGB227106
HSL226°96.30%21.18%
HSB/HSV226°98.11%41.57%
CMYK98.11%74.53%0.00%
58.43%

Color #021B6A in popluar number systems.

HEX021B6A
Decimal227106
Binary10110111101010
Octal233152

Shades and tints

Shades of #021B6A

#021B6A
(2,27,106)
#021961
(2,25,97)
#021758
(2,23,88)
#02154F
(2,21,79)
#021346
(2,19,70)
#02113D
(2,17,61)
#020F34
(2,15,52)
#020D2B
(2,13,43)
#020B22
(2,11,34)
#020919
(2,9,25)
#020710
(2,7,16)
#000000
(0,0,0)

Tints of #021B6A

#021B6A
(2,27,106)
#192F77
(25,47,119)
#304384
(48,67,132)
#475791
(71,87,145)
#5E6B9E
(94,107,158)
#757FAB
(117,127,171)
#8C93B8
(140,147,184)
#A3A7C5
(163,167,197)
#BABBD2
(186,187,210)
#D1CFDF
(209,207,223)
#E8E3EC
(232,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #021B6A color. Also use rgb(2,27,106) instead hex code.

Text Font Color

.myTextColor { color: #021B6A; }

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

This text font color is #021B6A.


Background Color

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

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

This div background color is #021B6A.


Border color

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

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

This div border color is #021B6A.


Opacity

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

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

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

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

This text has shadow with #021B6A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #021B6A on black background.


Color preview on white background

This text has color #021B6A on white background.



Black color preview on #021B6A background

This text has black color on #021B6A background.


White color preview on #021B6A background

This text has white color on #021B6A background.