Random Color Generator

#c185f9 Color

Color Codes
Hex Code #c185f9
RGB Code rgb(193, 133, 249)
HSL Code hsl(271, 91%, 75%)

#c185f9 Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 133, 249);
   }

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(271, 91%, 75%);
  }

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

RGB Code Hex Code Preview
rgb(193, 133, 249, 10%) #c185f91a  
rgb(193, 133, 249, 20%) #c185f933  
rgb(193, 133, 249, 40%) #c185f94C  
rgb(193, 133, 249, 60%) #c185f999  
rgb(193, 133, 249, 80%) #c185f9CC  
rgb(193, 133, 249, 100%) #c185f9FF  

Saturated and desaturated colors of #c185f9

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

#c185f9 Color Usage In CSS

 body {
    color: #c185f9;
    }
 p {
    color: rgb(193, 133, 249);
    }
 header {
    border-bottom:1px solid #c185f9;
    }
Recent Random Colors