Random Color Generator

#9676ab Color

Color Codes
Hex Code #9676ab
RGB Code rgb(150, 118, 171)
HSL Code hsl(276, 24%, 57%)

#9676ab Color Syntax

rgb()

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

 main {
    background-color: rgb(150, 118, 171);
   }

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(276, 24%, 57%);
  }

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 #9676ab

RGB Code Hex Code Preview
rgb(150, 118, 171, 10%) #9676ab1a  
rgb(150, 118, 171, 20%) #9676ab33  
rgb(150, 118, 171, 40%) #9676ab4C  
rgb(150, 118, 171, 60%) #9676ab99  
rgb(150, 118, 171, 80%) #9676abCC  
rgb(150, 118, 171, 100%) #9676abFF  

Saturated and desaturated colors of #9676ab

HSL Code Preview
hsl(276, 10%, 57%)  
hsl(276, 20%, 57%)  
hsl(276, 40%, 57%)  
hsl(276, 60%, 57%)  
hsl(276, 80%, 57%)  
hsl(276, 100%, 57%)  

#9676ab Color Usage In CSS

 body {
    color: #9676ab;
    }
 p {
    color: rgb(150, 118, 171);
    }
 header {
    border-bottom:1px solid #9676ab;
    }
Recent Random Colors