Color Hex Logo

#0402ab Color Hex

#0402AB
(4,2,171)
1 Favorites   0 Comments

Color spaces of #0402ab

RGB 42171
HSL0.670.980.34
HSV241°99°67°
CMYK 0.980.990.00   0.33
XYZ7.42253.009538.7178
Yxy3.00950.15100.0612
Hunter Lab17.347946.0144-120.1824
CIE-Lab20.081958.1923-79.4823

#0402ab color RGB value is (4,2,171).

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

The process color (four color CMYK) of #0402ab color hex is 0.98, 0.99, 0.00, 0.33. Web safe color of #0402ab is #000099. Color #0402ab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00000100 00000010 10101011
Octal 4 2 253
Decimal 4 2 171
Hex 4 2 AB

RGB Percentages of Color #0402ab

%2.26
%1.13
%96.61

CMYK Percentages of Color #0402ab

%98
%99
%0
%33

Triadic Colors of #0402ab

#0402ab #ab0402 #02ab04

Analogous Colors of #0402ab

#0402ab #5902ab #0254ab

Monochromatic Colors of #0402ab

#0402ab

Complementary Color

#0402ab #a9ab02

#0402ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#0402ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#0402ab Color CSS Codes

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

#0402ab Text Font Color

<p style="color:#0402ab">Text here</p>

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


#0402ab Background Color

<div style="background-color:#0402ab">
Div content here</div>

This div background color is #0402ab


#0402ab Border Color

<div style="border:3px solid #0402ab">
Div here</div>

This div border color is #0402ab


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(4,2,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 #0402ab">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #0402ab


Comments

No comments written yet.

Please login to write comment.