Color Hex Logo

#021fab Color Hex

#021FAB
(2,31,171)
0 Favorites   0 Comments

Color spaces of #021fab

RGB 231171
HSL0.640.980.34
HSV230°99°67°
CMYK 0.990.820.00   0.33
XYZ7.86573.933238.8727
Yxy3.93320.15520.0776
Hunter Lab19.832336.0885-102.3300
CIE-Lab23.449447.8492-73.8651

#021fab color RGB value is (2,31,171).

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

The process color (four color CMYK) of #021fab color hex is 0.99, 0.82, 0.00, 0.33. Web safe color of #021fab is #003399. Color #021fab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000010 00011111 10101011
Octal 2 37 253
Decimal 2 31 171
Hex 2 1F AB

RGB Percentages of Color #021fab

%0.98
%15.20
%83.82

CMYK Percentages of Color #021fab

%99
%82
%0
%33

Triadic Colors of #021fab

#021fab #ab021f #1fab02

Analogous Colors of #021fab

#021fab #3a02ab #0274ab

Monochromatic Colors of #021fab

#021fab

Complementary Color

#021fab #ab8e02

#021fab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#021fab Color Preview on White Background

Lorem ipsum dolor sit amet.

#021fab Color CSS Codes

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

#021fab Text Font Color

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

This sample text font color is #021fab
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.


#021fab Background Color

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

This div background color is #021fab


#021fab Border Color

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

This div border color is #021fab


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #021fab


Comments

No comments written yet.

Please login to write comment.