Random Color Generator

#9964fa Color

Color Codes
Hex Code #9964fa
RGB Code rgb(153, 100, 250)
HSL Code hsl(261, 94%, 69%)

#9964fa Color Syntax

rgb()

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

 main {
    background-color: rgb(153, 100, 250);
   }

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(261, 94%, 69%);
  }

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 #9964fa

RGB Code Hex Code Preview
rgb(153, 100, 250, 10%) #9964fa1a  
rgb(153, 100, 250, 20%) #9964fa33  
rgb(153, 100, 250, 40%) #9964fa4C  
rgb(153, 100, 250, 60%) #9964fa99  
rgb(153, 100, 250, 80%) #9964faCC  
rgb(153, 100, 250, 100%) #9964faFF  

Saturated and desaturated colors of #9964fa

HSL Code Preview
hsl(261, 10%, 69%)  
hsl(261, 20%, 69%)  
hsl(261, 40%, 69%)  
hsl(261, 60%, 69%)  
hsl(261, 80%, 69%)  
hsl(261, 100%, 69%)  

#9964fa Color Usage In CSS

 body {
    color: #9964fa;
    }
 p {
    color: rgb(153, 100, 250);
    }
 header {
    border-bottom:1px solid #9964fa;
    }
Recent Random Colors