Random Color Generator

#cf57ae Color

Color Codes
Hex Code #cf57ae
RGB Code rgb(207, 87, 174)
HSL Code hsl(317, 56%, 58%)

#cf57ae Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 87, 174);
   }

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(317, 56%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(207, 87, 174, 10%) #cf57ae1a  
rgb(207, 87, 174, 20%) #cf57ae33  
rgb(207, 87, 174, 40%) #cf57ae4C  
rgb(207, 87, 174, 60%) #cf57ae99  
rgb(207, 87, 174, 80%) #cf57aeCC  
rgb(207, 87, 174, 100%) #cf57aeFF  

Saturated and desaturated colors of #cf57ae

HSL Code Preview
hsl(317, 10%, 58%)  
hsl(317, 20%, 58%)  
hsl(317, 40%, 58%)  
hsl(317, 60%, 58%)  
hsl(317, 80%, 58%)  
hsl(317, 100%, 58%)  

#cf57ae Color Usage In CSS

 body {
    color: #cf57ae;
    }
 p {
    color: rgb(207, 87, 174);
    }
 header {
    border-bottom:1px solid #cf57ae;
    }
Recent Random Colors