Random Color Generator

#ca55ac Color

Color Codes
Hex Code #ca55ac
RGB Code rgb(202, 85, 172)
HSL Code hsl(315, 52%, 56%)

#ca55ac Color Syntax

rgb()

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

 main {
    background-color: rgb(202, 85, 172);
   }

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(315, 52%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(202, 85, 172, 10%) #ca55ac1a  
rgb(202, 85, 172, 20%) #ca55ac33  
rgb(202, 85, 172, 40%) #ca55ac4C  
rgb(202, 85, 172, 60%) #ca55ac99  
rgb(202, 85, 172, 80%) #ca55acCC  
rgb(202, 85, 172, 100%) #ca55acFF  

Saturated and desaturated colors of #ca55ac

HSL Code Preview
hsl(315, 10%, 56%)  
hsl(315, 20%, 56%)  
hsl(315, 40%, 56%)  
hsl(315, 60%, 56%)  
hsl(315, 80%, 56%)  
hsl(315, 100%, 56%)  

#ca55ac Color Usage In CSS

 body {
    color: #ca55ac;
    }
 p {
    color: rgb(202, 85, 172);
    }
 header {
    border-bottom:1px solid #ca55ac;
    }
Recent Random Colors