Random Color Generator

#e748c2 Color

Color Codes
Hex Code #e748c2
RGB Code rgb(231, 72, 194)
HSL Code hsl(314, 77%, 59%)

#e748c2 Color Syntax

rgb()

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

 main {
    background-color: rgb(231, 72, 194);
   }

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(314, 77%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(231, 72, 194, 10%) #e748c21a  
rgb(231, 72, 194, 20%) #e748c233  
rgb(231, 72, 194, 40%) #e748c24C  
rgb(231, 72, 194, 60%) #e748c299  
rgb(231, 72, 194, 80%) #e748c2CC  
rgb(231, 72, 194, 100%) #e748c2FF  

Saturated and desaturated colors of #e748c2

HSL Code Preview
hsl(314, 10%, 59%)  
hsl(314, 20%, 59%)  
hsl(314, 40%, 59%)  
hsl(314, 60%, 59%)  
hsl(314, 80%, 59%)  
hsl(314, 100%, 59%)  

#e748c2 Color Usage In CSS

 body {
    color: #e748c2;
    }
 p {
    color: rgb(231, 72, 194);
    }
 header {
    border-bottom:1px solid #e748c2;
    }
Recent Random Colors