Random Color Generator

#ca9cc9 Color

Color Codes
Hex Code #ca9cc9
RGB Code rgb(202, 156, 201)
HSL Code hsl(301, 30%, 70%)

#ca9cc9 Color Syntax

rgb()

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

 main {
    background-color: rgb(202, 156, 201);
   }

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(301, 30%, 70%);
  }

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

RGB Code Hex Code Preview
rgb(202, 156, 201, 10%) #ca9cc91a  
rgb(202, 156, 201, 20%) #ca9cc933  
rgb(202, 156, 201, 40%) #ca9cc94C  
rgb(202, 156, 201, 60%) #ca9cc999  
rgb(202, 156, 201, 80%) #ca9cc9CC  
rgb(202, 156, 201, 100%) #ca9cc9FF  

Saturated and desaturated colors of #ca9cc9

HSL Code Preview
hsl(301, 10%, 70%)  
hsl(301, 20%, 70%)  
hsl(301, 40%, 70%)  
hsl(301, 60%, 70%)  
hsl(301, 80%, 70%)  
hsl(301, 100%, 70%)  

#ca9cc9 Color Usage In CSS

 body {
    color: #ca9cc9;
    }
 p {
    color: rgb(202, 156, 201);
    }
 header {
    border-bottom:1px solid #ca9cc9;
    }
Recent Random Colors