Color Hex Logo

#021a9e Color Hex

#021A9E
(2,26,158)
0 Favorites   0 Comments

Color spaces of #021a9e

RGB 226158
HSL0.640.980.31
HSV231°99°62°
CMYK 0.990.840.00   0.38
XYZ6.56603.220332.6233
Yxy3.22030.15480.0759
Hunter Lab17.945233.9076-95.2241
CIE-Lab20.905446.0841-70.1997

#021a9e color RGB value is (2,26,158).

#021a9e hex color red value is 2, green value is 26 and the blue value of its RGB is 158. Cylindrical-coordinate representations (also known as HSL) of color #021a9e hue: 0.64 , saturation: 0.98 and the lightness value of 021a9e is 0.31.

The process color (four color CMYK) of #021a9e color hex is 0.99, 0.84, 0.00, 0.38. Web safe color of #021a9e is #003399. Color #021a9e contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000010 00011010 10011110
Octal 2 32 236
Decimal 2 26 158
Hex 2 1A 9E

RGB Percentages of Color #021a9e

%1.08
%13.98
%84.95

CMYK Percentages of Color #021a9e

%99
%84
%0
%38

Triadic Colors of #021a9e

#021a9e #9e021a #1a9e02

Analogous Colors of #021a9e

#021a9e #38029e #02689e

Monochromatic Colors of #021a9e

#021a9e

Complementary Color

#021a9e #9e8602

#021a9e Color Preview on Black Background

Lorem ipsum dolor sit amet.

#021a9e Color Preview on White Background

Lorem ipsum dolor sit amet.

#021a9e Color CSS Codes

.mybgcolor {background-color:#021a9e; } 
.myforecolor {color:#021a9e; }
.mybordercolor {border:3px solid #021a9e; }

#021a9e Text Font Color

<p style="color:#021a9e">Text here</p>

This sample text font color is #021a9e
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#021a9e Background Color

<div style="background-color:#021a9e">
Div content here</div>

This div background color is #021a9e


#021a9e Border Color

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

This div border color is #021a9e


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(2,26,158, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #021a9e; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #021a9e;
  -webkit-box-shadow: 1px 1px 3px 2px #021a9e;
  box-shadow:         1px 1px 3px 2px #021a9e; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(2,26,158, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #021a9e">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #021a9e;
  -webkit-box-shadow: 1px 1px 3px 2px #021a9e;
  box-shadow:         1px 1px 3px 2px #021a9e;">
Div content here</div>

This div box has shadow with color #021a9e


Comments

No comments written yet.

Please login to write comment.