Random Color Generator

#eb1f5a Color

Color Codes
Hex Code #eb1f5a
RGB Code rgb(235, 31, 90)
HSL Code hsl(343, 84%, 52%)

#eb1f5a Color Syntax

rgb()

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

 main {
    background-color: rgb(235, 31, 90);
   }

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(343, 84%, 52%);
  }

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 #eb1f5a

RGB Code Hex Code Preview
rgb(235, 31, 90, 10%) #eb1f5a1a  
rgb(235, 31, 90, 20%) #eb1f5a33  
rgb(235, 31, 90, 40%) #eb1f5a4C  
rgb(235, 31, 90, 60%) #eb1f5a99  
rgb(235, 31, 90, 80%) #eb1f5aCC  
rgb(235, 31, 90, 100%) #eb1f5aFF  

Saturated and desaturated colors of #eb1f5a

HSL Code Preview
hsl(343, 10%, 52%)  
hsl(343, 20%, 52%)  
hsl(343, 40%, 52%)  
hsl(343, 60%, 52%)  
hsl(343, 80%, 52%)  
hsl(343, 100%, 52%)  

#eb1f5a Color Usage In CSS

 body {
    color: #eb1f5a;
    }
 p {
    color: rgb(235, 31, 90);
    }
 header {
    border-bottom:1px solid #eb1f5a;
    }
Recent Random Colors