Random Color Generator

#9306a3 Color

Color Codes
Hex Code #9306a3
RGB Code rgb(147, 06, 163)
HSL Code hsl(294, 93%, 33%)

#9306a3 Color Syntax

rgb()

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

 main {
    background-color: rgb(147, 06, 163);
   }

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(294, 93%, 33%);
  }

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 #9306a3

RGB Code Hex Code Preview
rgb(147, 06, 163, 10%) #9306a31a  
rgb(147, 06, 163, 20%) #9306a333  
rgb(147, 06, 163, 40%) #9306a34C  
rgb(147, 06, 163, 60%) #9306a399  
rgb(147, 06, 163, 80%) #9306a3CC  
rgb(147, 06, 163, 100%) #9306a3FF  

Saturated and desaturated colors of #9306a3

HSL Code Preview
hsl(294, 10%, 33%)  
hsl(294, 20%, 33%)  
hsl(294, 40%, 33%)  
hsl(294, 60%, 33%)  
hsl(294, 80%, 33%)  
hsl(294, 100%, 33%)  

#9306a3 Color Usage In CSS

 body {
    color: #9306a3;
    }
 p {
    color: rgb(147, 06, 163);
    }
 header {
    border-bottom:1px solid #9306a3;
    }
Recent Random Colors