Random Color Generator

#ea159f Color

Color Codes
Hex Code #ea159f
RGB Code rgb(234, 21, 159)
HSL Code hsl(321, 84%, 50%)

#ea159f Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(234, 21, 159);
   }

R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.

hsl()

 hsl(hue saturation lightness);
 hsl(hue saturation lightness / alpha);

 div {
  background-color: hsl(321, 84%, 50%);
  }

Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.

Lighter and darker colors of #ea159f

RGB Code Hex Code Preview
rgb(234, 21, 159, 10%) #ea159f1a  
rgb(234, 21, 159, 20%) #ea159f33  
rgb(234, 21, 159, 40%) #ea159f4C  
rgb(234, 21, 159, 60%) #ea159f99  
rgb(234, 21, 159, 80%) #ea159fCC  
rgb(234, 21, 159, 100%) #ea159fFF  

Saturated and desaturated colors of #ea159f

HSL Code Preview
hsl(321, 10%, 50%)  
hsl(321, 20%, 50%)  
hsl(321, 40%, 50%)  
hsl(321, 60%, 50%)  
hsl(321, 80%, 50%)  
hsl(321, 100%, 50%)  

#ea159f Color Usage In CSS

 body {
    color: #ea159f;
    }
 p {
    color: rgb(234, 21, 159);
    }
 header {
    border-bottom:1px solid #ea159f;
    }
Recent Random Colors