Random Color Generator

#c60986 Color

Color Codes
Hex Code #c60986
RGB Code rgb(198, 09, 134)
HSL Code hsl(320, 91%, 41%)

#c60986 Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 09, 134);
   }

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(320, 91%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(198, 09, 134, 10%) #c609861a  
rgb(198, 09, 134, 20%) #c6098633  
rgb(198, 09, 134, 40%) #c609864C  
rgb(198, 09, 134, 60%) #c6098699  
rgb(198, 09, 134, 80%) #c60986CC  
rgb(198, 09, 134, 100%) #c60986FF  

Saturated and desaturated colors of #c60986

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

#c60986 Color Usage In CSS

 body {
    color: #c60986;
    }
 p {
    color: rgb(198, 09, 134);
    }
 header {
    border-bottom:1px solid #c60986;
    }
Recent Random Colors