Random Color Generator

#9c3ccb Color

Color Codes
Hex Code #9c3ccb
RGB Code rgb(156, 60, 203)
HSL Code hsl(280, 58%, 52%)

#9c3ccb Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 60, 203);
   }

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(280, 58%, 52%);
  }

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 #9c3ccb

RGB Code Hex Code Preview
rgb(156, 60, 203, 10%) #9c3ccb1a  
rgb(156, 60, 203, 20%) #9c3ccb33  
rgb(156, 60, 203, 40%) #9c3ccb4C  
rgb(156, 60, 203, 60%) #9c3ccb99  
rgb(156, 60, 203, 80%) #9c3ccbCC  
rgb(156, 60, 203, 100%) #9c3ccbFF  

Saturated and desaturated colors of #9c3ccb

HSL Code Preview
hsl(280, 10%, 52%)  
hsl(280, 20%, 52%)  
hsl(280, 40%, 52%)  
hsl(280, 60%, 52%)  
hsl(280, 80%, 52%)  
hsl(280, 100%, 52%)  

#9c3ccb Color Usage In CSS

 body {
    color: #9c3ccb;
    }
 p {
    color: rgb(156, 60, 203);
    }
 header {
    border-bottom:1px solid #9c3ccb;
    }
Recent Random Colors