Random Color Generator

#c572a9 Color

Color Codes
Hex Code #c572a9
RGB Code rgb(197, 114, 169)
HSL Code hsl(320, 42%, 61%)

#c572a9 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 114, 169);
   }

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(320, 42%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(197, 114, 169, 10%) #c572a91a  
rgb(197, 114, 169, 20%) #c572a933  
rgb(197, 114, 169, 40%) #c572a94C  
rgb(197, 114, 169, 60%) #c572a999  
rgb(197, 114, 169, 80%) #c572a9CC  
rgb(197, 114, 169, 100%) #c572a9FF  

Saturated and desaturated colors of #c572a9

HSL Code Preview
hsl(320, 10%, 61%)  
hsl(320, 20%, 61%)  
hsl(320, 40%, 61%)  
hsl(320, 60%, 61%)  
hsl(320, 80%, 61%)  
hsl(320, 100%, 61%)  

#c572a9 Color Usage In CSS

 body {
    color: #c572a9;
    }
 p {
    color: rgb(197, 114, 169);
    }
 header {
    border-bottom:1px solid #c572a9;
    }
Recent Random Colors