Random Color Generator

#c685d9 Color

Color Codes
Hex Code #c685d9
RGB Code rgb(198, 133, 217)
HSL Code hsl(286, 53%, 69%)

#c685d9 Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 133, 217);
   }

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(286, 53%, 69%);
  }

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

RGB Code Hex Code Preview
rgb(198, 133, 217, 10%) #c685d91a  
rgb(198, 133, 217, 20%) #c685d933  
rgb(198, 133, 217, 40%) #c685d94C  
rgb(198, 133, 217, 60%) #c685d999  
rgb(198, 133, 217, 80%) #c685d9CC  
rgb(198, 133, 217, 100%) #c685d9FF  

Saturated and desaturated colors of #c685d9

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

#c685d9 Color Usage In CSS

 body {
    color: #c685d9;
    }
 p {
    color: rgb(198, 133, 217);
    }
 header {
    border-bottom:1px solid #c685d9;
    }
Recent Random Colors