Random Color Generator

#c3aafb Color

Color Codes
Hex Code #c3aafb
RGB Code rgb(195, 170, 251)
HSL Code hsl(259, 91%, 83%)

#c3aafb Color Syntax

rgb()

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

 main {
    background-color: rgb(195, 170, 251);
   }

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(259, 91%, 83%);
  }

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

RGB Code Hex Code Preview
rgb(195, 170, 251, 10%) #c3aafb1a  
rgb(195, 170, 251, 20%) #c3aafb33  
rgb(195, 170, 251, 40%) #c3aafb4C  
rgb(195, 170, 251, 60%) #c3aafb99  
rgb(195, 170, 251, 80%) #c3aafbCC  
rgb(195, 170, 251, 100%) #c3aafbFF  

Saturated and desaturated colors of #c3aafb

HSL Code Preview
hsl(259, 10%, 83%)  
hsl(259, 20%, 83%)  
hsl(259, 40%, 83%)  
hsl(259, 60%, 83%)  
hsl(259, 80%, 83%)  
hsl(259, 100%, 83%)  

#c3aafb Color Usage In CSS

 body {
    color: #c3aafb;
    }
 p {
    color: rgb(195, 170, 251);
    }
 header {
    border-bottom:1px solid #c3aafb;
    }
Recent Random Colors