#2A157A Information

#2A157A color RGB value is (42 , 21 , 122) , HEX triplet: 2a, 15 and 7a. RGB value is (42 , 21 , 122). Sum of RGB (Red+Green+Blue) = 42+21+122=185 (Red value is 42 (16.47% from 255 or 19.53% from 215); Green value is 21 (8.24% from 255 or 9.77% from 215); Blue value is 122 (47.84% from 255 or 56.74% from 215); Max value from RGB is 122 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #2A157A hue: 0.7 , saturation: 0.71 and the lightness value of 2a157a is 0.28.

#2a157a
(42 , 21 , 122)
  • R (42)
  • G (21)
  • B (122)
  • C (31.37)
  • M (39.61)
  • Y (0)
  • K (52.16)

Applying the #2a157a

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 #2a157a

Type Values
RGB 42 21 122
HSL 0.7 0.71 0.28
HSV 252 83 48
CMYK 31.37 39.61 0 52.16
XYZ 4.7359 2.4337 18.6325
Hunter Lab 15.6004 26.8873 -59.8676
CIE-Lab 17.6161 39.0912 -53.078

Base Numbers

BaseRedGreenBlue
Decimal 42 21 122
Binary 101010 10101 1111010
Octal 52 25 172
Hex 2A 15 7A

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#2a157a Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#2A157A Color CSS Codes

You are Awesome !!

Text Color Example

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

Background Color Example

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

Border Color Example

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

Box & Text Shadow Color Example

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