#2A158C Information

#2A158C color RGB value is (42 , 21 , 140) , HEX triplet: 2a, 15 and 8c. RGB value is (42 , 21 , 140). Sum of RGB (Red+Green+Blue) = 42+21+140=203 (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 140 (54.9% from 255 or 65.12% from 215); Max value from RGB is 140 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #2A158C hue: 0.7 , saturation: 0.74 and the lightness value of 2a158c is 0.32.

#2a158c
(42 , 21 , 140)
  • R (42)
  • G (21)
  • B (140)
  • C (38.43)
  • M (46.67)
  • Y (0)
  • K (45.1)

Applying the #2a158c

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

Type Values
RGB 42 21 140
HSL 0.7 0.74 0.32
HSV 251 85 55
CMYK 38.43 46.67 0 45.1
XYZ 5.9566 2.922 25.061
Hunter Lab 17.0939 32.2867 -74.9261
CIE-Lab 19.7289 44.6016 -60.9662

Base Numbers

BaseRedGreenBlue
Decimal 42 21 140
Binary 101010 10101 10001100
Octal 52 25 214
Hex 2A 15 8C

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#2a158c Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#2A158C Color CSS Codes

You are Awesome !!

Text Color Example

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

Background Color Example

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

Border Color Example

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

Box & Text Shadow Color Example

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