Random Color Generator

#c6298a Color

Color Codes
Hex Code #c6298a
RGB Code rgb(198, 41, 138)
HSL Code hsl(323, 66%, 47%)

#c6298a Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 41, 138);
   }

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(323, 66%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(198, 41, 138, 10%) #c6298a1a  
rgb(198, 41, 138, 20%) #c6298a33  
rgb(198, 41, 138, 40%) #c6298a4C  
rgb(198, 41, 138, 60%) #c6298a99  
rgb(198, 41, 138, 80%) #c6298aCC  
rgb(198, 41, 138, 100%) #c6298aFF  

Saturated and desaturated colors of #c6298a

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

#c6298a Color Usage In CSS

 body {
    color: #c6298a;
    }
 p {
    color: rgb(198, 41, 138);
    }
 header {
    border-bottom:1px solid #c6298a;
    }
Recent Random Colors