Random Color Generator

#9916a1 Color

Color Codes
Hex Code #9916a1
RGB Code rgb(153, 22, 161)
HSL Code hsl(297, 76%, 36%)

#9916a1 Color Syntax

rgb()

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

 main {
    background-color: rgb(153, 22, 161);
   }

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(297, 76%, 36%);
  }

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 #9916a1

RGB Code Hex Code Preview
rgb(153, 22, 161, 10%) #9916a11a  
rgb(153, 22, 161, 20%) #9916a133  
rgb(153, 22, 161, 40%) #9916a14C  
rgb(153, 22, 161, 60%) #9916a199  
rgb(153, 22, 161, 80%) #9916a1CC  
rgb(153, 22, 161, 100%) #9916a1FF  

Saturated and desaturated colors of #9916a1

HSL Code Preview
hsl(297, 10%, 36%)  
hsl(297, 20%, 36%)  
hsl(297, 40%, 36%)  
hsl(297, 60%, 36%)  
hsl(297, 80%, 36%)  
hsl(297, 100%, 36%)  

#9916a1 Color Usage In CSS

 body {
    color: #9916a1;
    }
 p {
    color: rgb(153, 22, 161);
    }
 header {
    border-bottom:1px solid #9916a1;
    }
Recent Random Colors