Random Color Generator

#c03ca8 Color

Color Codes
Hex Code #c03ca8
RGB Code rgb(192, 60, 168)
HSL Code hsl(311, 52%, 49%)

#c03ca8 Color Syntax

rgb()

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

 main {
    background-color: rgb(192, 60, 168);
   }

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(311, 52%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(192, 60, 168, 10%) #c03ca81a  
rgb(192, 60, 168, 20%) #c03ca833  
rgb(192, 60, 168, 40%) #c03ca84C  
rgb(192, 60, 168, 60%) #c03ca899  
rgb(192, 60, 168, 80%) #c03ca8CC  
rgb(192, 60, 168, 100%) #c03ca8FF  

Saturated and desaturated colors of #c03ca8

HSL Code Preview
hsl(311, 10%, 49%)  
hsl(311, 20%, 49%)  
hsl(311, 40%, 49%)  
hsl(311, 60%, 49%)  
hsl(311, 80%, 49%)  
hsl(311, 100%, 49%)  

#c03ca8 Color Usage In CSS

 body {
    color: #c03ca8;
    }
 p {
    color: rgb(192, 60, 168);
    }
 header {
    border-bottom:1px solid #c03ca8;
    }
Recent Random Colors