#042A7E Information

#042A7E color RGB value is (4 , 42 , 126) , HEX triplet: 4, 2a and 7e. RGB value is (4 , 42 , 126). Sum of RGB (Red+Green+Blue) = 4+42+126=172 (Red value is 4 (1.57% from 255 or 1.86% from 215); Green value is 42 (16.47% from 255 or 19.53% from 215); Blue value is 126 (49.41% from 255 or 58.6% from 215); Max value from RGB is 126 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #042A7E hue: 0.61 , saturation: 0.94 and the lightness value of 042a7e is 0.25.

#042a7e
(4 , 42 , 126)
  • R (4)
  • G (42)
  • B (126)
  • C (47.84)
  • M (32.94)
  • Y (0)
  • K (50.59)

Applying the #042a7e

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 #042a7e

Type Values
RGB 4 42 126
HSL 0.61 0.94 0.25
HSV 221 97 49
CMYK 47.84 32.94 0 50.59
XYZ 4.6439 3.1881 20.1093
Hunter Lab 17.8552 15.179 -54.2516
CIE-Lab 20.782 24.2469 -50.4788

Base Numbers

BaseRedGreenBlue
Decimal 4 42 126
Binary 100 101010 1111110
Octal 4 52 176
Hex 4 2A 7E

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#042a7e Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#042A7E Color CSS Codes

You are Awesome !!

Text Color Example

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

Background Color Example

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

Border Color Example

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

Box & Text Shadow Color Example

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