Random Color Generator

#c3a2f5 Color

Color Codes
Hex Code #c3a2f5
RGB Code rgb(195, 162, 245)
HSL Code hsl(264, 81%, 80%)

#c3a2f5 Color Syntax

rgb()

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

 main {
    background-color: rgb(195, 162, 245);
   }

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(264, 81%, 80%);
  }

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

RGB Code Hex Code Preview
rgb(195, 162, 245, 10%) #c3a2f51a  
rgb(195, 162, 245, 20%) #c3a2f533  
rgb(195, 162, 245, 40%) #c3a2f54C  
rgb(195, 162, 245, 60%) #c3a2f599  
rgb(195, 162, 245, 80%) #c3a2f5CC  
rgb(195, 162, 245, 100%) #c3a2f5FF  

Saturated and desaturated colors of #c3a2f5

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

#c3a2f5 Color Usage In CSS

 body {
    color: #c3a2f5;
    }
 p {
    color: rgb(195, 162, 245);
    }
 header {
    border-bottom:1px solid #c3a2f5;
    }
Recent Random Colors