Random Color Generator

#ca5fe8 Color

Color Codes
Hex Code #ca5fe8
RGB Code rgb(202, 95, 232)
HSL Code hsl(287, 75%, 64%)

#ca5fe8 Color Syntax

rgb()

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

 main {
    background-color: rgb(202, 95, 232);
   }

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(287, 75%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(202, 95, 232, 10%) #ca5fe81a  
rgb(202, 95, 232, 20%) #ca5fe833  
rgb(202, 95, 232, 40%) #ca5fe84C  
rgb(202, 95, 232, 60%) #ca5fe899  
rgb(202, 95, 232, 80%) #ca5fe8CC  
rgb(202, 95, 232, 100%) #ca5fe8FF  

Saturated and desaturated colors of #ca5fe8

HSL Code Preview
hsl(287, 10%, 64%)  
hsl(287, 20%, 64%)  
hsl(287, 40%, 64%)  
hsl(287, 60%, 64%)  
hsl(287, 80%, 64%)  
hsl(287, 100%, 64%)  

#ca5fe8 Color Usage In CSS

 body {
    color: #ca5fe8;
    }
 p {
    color: rgb(202, 95, 232);
    }
 header {
    border-bottom:1px solid #ca5fe8;
    }
Recent Random Colors