Random Color Generator

#c646a0 Color

Color Codes
Hex Code #c646a0
RGB Code rgb(198, 70, 160)
HSL Code hsl(318, 53%, 53%)

#c646a0 Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 70, 160);
   }

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

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

RGB Code Hex Code Preview
rgb(198, 70, 160, 10%) #c646a01a  
rgb(198, 70, 160, 20%) #c646a033  
rgb(198, 70, 160, 40%) #c646a04C  
rgb(198, 70, 160, 60%) #c646a099  
rgb(198, 70, 160, 80%) #c646a0CC  
rgb(198, 70, 160, 100%) #c646a0FF  

Saturated and desaturated colors of #c646a0

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

#c646a0 Color Usage In CSS

 body {
    color: #c646a0;
    }
 p {
    color: rgb(198, 70, 160);
    }
 header {
    border-bottom:1px solid #c646a0;
    }
Recent Random Colors