Color Hex Logo

#0402ad Color Hex

#0402AD
(4,2,173)
0 Favorites   0 Comments

Color spaces of #0402ad

RGB 42173
HSL0.670.980.34
HSV241°99°68°
CMYK 0.980.990.00   0.32
XYZ7.61463.086439.7296
Yxy3.08640.15100.0612
Hunter Lab17.568246.6233-121.7840
CIE-Lab20.386658.7068-80.1806

#0402ad color RGB value is (4,2,173).

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

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

Base Numbers

BaseRedGreenBlue
Binary 00000100 00000010 10101101
Octal 4 2 255
Decimal 4 2 173
Hex 4 2 AD

RGB Percentages of Color #0402ad

%2.23
%1.12
%96.65

CMYK Percentages of Color #0402ad

%98
%99
%0
%32

Triadic Colors of #0402ad

#0402ad #ad0402 #02ad04

Analogous Colors of #0402ad

#0402ad #5a02ad #0256ad

Monochromatic Colors of #0402ad

#0402ad

Complementary Color

#0402ad #abad02

#0402ad Color Preview on Black Background

Lorem ipsum dolor sit amet.

#0402ad Color Preview on White Background

Lorem ipsum dolor sit amet.

#0402ad Color CSS Codes

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

#0402ad Text Font Color

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

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


#0402ad Background Color

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

This div background color is #0402ad


#0402ad Border Color

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

This div border color is #0402ad


Css3 Examples

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

Text Shadow with RGB Values

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

This text has shadow with rgb values.


Text Shadow with Hex Values

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

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #0402ad


Comments

No comments written yet.

Please login to write comment.