#2A158A Information

#2A158A color RGB value is (42 , 21 , 138) , HEX triplet: 2a, 15 and 8a. RGB value is (42 , 21 , 138). Sum of RGB (Red+Green+Blue) = 42+21+138=201 (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 138 (54.12% from 255 or 64.19% from 215); Max value from RGB is 138 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #2A158A hue: 0.7 , saturation: 0.74 and the lightness value of 2a158a is 0.31.

#2a158a
(42 , 21 , 138)
  • R (42)
  • G (21)
  • B (138)
  • C (37.65)
  • M (45.88)
  • Y (0)
  • K (45.88)

Applying the #2a158a

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

Type Values
RGB 42 21 138
HSL 0.7 0.74 0.31
HSV 251 85 54
CMYK 37.65 45.88 0 45.88
XYZ 5.8105 2.8635 24.2912
Hunter Lab 16.922 31.6774 -73.233
CIE-Lab 19.4889 43.9977 -60.1119

Base Numbers

BaseRedGreenBlue
Decimal 42 21 138
Binary 101010 10101 10001010
Octal 52 25 212
Hex 2A 15 8A

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#2a158a Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#2A158A Color CSS Codes

You are Awesome !!

Text Color Example

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

Background Color Example

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

Border Color Example

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

Box & Text Shadow Color Example

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