Random Color Generator

#961151 Color

Color Codes
Hex Code #961151
RGB Code rgb(150, 17, 81)
HSL Code hsl(331, 80%, 33%)

#961151 Color Syntax

rgb()

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

 main {
    background-color: rgb(150, 17, 81);
   }

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(331, 80%, 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 #961151

RGB Code Hex Code Preview
rgb(150, 17, 81, 10%) #9611511a  
rgb(150, 17, 81, 20%) #96115133  
rgb(150, 17, 81, 40%) #9611514C  
rgb(150, 17, 81, 60%) #96115199  
rgb(150, 17, 81, 80%) #961151CC  
rgb(150, 17, 81, 100%) #961151FF  

Saturated and desaturated colors of #961151

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

#961151 Color Usage In CSS

 body {
    color: #961151;
    }
 p {
    color: rgb(150, 17, 81);
    }
 header {
    border-bottom:1px solid #961151;
    }
Recent Random Colors