#0402AB Information

#0402AB color RGB value is (4 , 2 , 171) , HEX triplet: 4, 2 and ab. RGB value is (4 , 2 , 171). Sum of RGB (Red+Green+Blue) = 4+2+171=177 (Red value is 4 (1.57% from 255 or 1.86% from 215); Green value is 2 (0.78% from 255 or 0.93% from 215); Blue value is 171 (67.06% from 255 or 79.53% from 215); Max value from RGB is 171 - color contains mainly: Blue . 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.

#0402ab
(4 , 2 , 171)
  • R (4)
  • G (2)
  • B (171)
  • C (65.49)
  • M (66.27)
  • Y (0)
  • K (32.94)

Applying the #0402ab

You are awesome !

If you don't really have a dream, you can't really push yourself you don't really know what the target is.

Color spaces of #0402ab

Type Values
RGB 4 2 171
HSL 0.67 0.98 0.34
HSV 241 99 67
CMYK 65.49 66.27 0 32.94
XYZ 7.4225 3.0095 38.7178
Hunter Lab 17.3479 46.014 -120.1335
CIE-Lab 20.0819 58.1919 -79.4823

Base Numbers

BaseRedGreenBlue
Decimal 4 2 171
Binary 100 10 10101011
Octal 4 2 253
Hex 4 2 AB

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#0402ab Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#0402AB Color CSS Codes

You are Awesome !!

Text Color Example

<p style="color:#0402ab">Text here</p>
                                    
You are Awesome !!

Background Color Example

<p style="background:#0402ab">Text here</p>
                                    
You are Awesome !!

Border Color Example

<p style="border:2px solid #0402ab">You are Awesome</p>
                                    
You are Awesome !!

Box & Text Shadow Color Example

<p style="text-shadow: 1px 1px 1px #0402ab;
box-shadow: 1px 1px 4px #0402ab">You are Awesome</p>