Random Color Generator

#c522bf Color

Color Codes
Hex Code #c522bf
RGB Code rgb(197, 34, 191)
HSL Code hsl(302, 71%, 45%)

#c522bf Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 34, 191);
   }

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(302, 71%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(197, 34, 191, 10%) #c522bf1a  
rgb(197, 34, 191, 20%) #c522bf33  
rgb(197, 34, 191, 40%) #c522bf4C  
rgb(197, 34, 191, 60%) #c522bf99  
rgb(197, 34, 191, 80%) #c522bfCC  
rgb(197, 34, 191, 100%) #c522bfFF  

Saturated and desaturated colors of #c522bf

HSL Code Preview
hsl(302, 10%, 45%)  
hsl(302, 20%, 45%)  
hsl(302, 40%, 45%)  
hsl(302, 60%, 45%)  
hsl(302, 80%, 45%)  
hsl(302, 100%, 45%)  

#c522bf Color Usage In CSS

 body {
    color: #c522bf;
    }
 p {
    color: rgb(197, 34, 191);
    }
 header {
    border-bottom:1px solid #c522bf;
    }
Recent Random Colors