Random Color Generator

#960db9 Color

Color Codes
Hex Code #960db9
RGB Code rgb(150, 13, 185)
HSL Code hsl(288, 87%, 39%)

#960db9 Color Syntax

rgb()

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

 main {
    background-color: rgb(150, 13, 185);
   }

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(288, 87%, 39%);
  }

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 #960db9

RGB Code Hex Code Preview
rgb(150, 13, 185, 10%) #960db91a  
rgb(150, 13, 185, 20%) #960db933  
rgb(150, 13, 185, 40%) #960db94C  
rgb(150, 13, 185, 60%) #960db999  
rgb(150, 13, 185, 80%) #960db9CC  
rgb(150, 13, 185, 100%) #960db9FF  

Saturated and desaturated colors of #960db9

HSL Code Preview
hsl(288, 10%, 39%)  
hsl(288, 20%, 39%)  
hsl(288, 40%, 39%)  
hsl(288, 60%, 39%)  
hsl(288, 80%, 39%)  
hsl(288, 100%, 39%)  

#960db9 Color Usage In CSS

 body {
    color: #960db9;
    }
 p {
    color: rgb(150, 13, 185);
    }
 header {
    border-bottom:1px solid #960db9;
    }
Recent Random Colors