Random Color Generator

#9536ab Color

Color Codes
Hex Code #9536ab
RGB Code rgb(149, 54, 171)
HSL Code hsl(289, 52%, 44%)

#9536ab Color Syntax

rgb()

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

 main {
    background-color: rgb(149, 54, 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(289, 52%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(149, 54, 171, 10%) #9536ab1a  
rgb(149, 54, 171, 20%) #9536ab33  
rgb(149, 54, 171, 40%) #9536ab4C  
rgb(149, 54, 171, 60%) #9536ab99  
rgb(149, 54, 171, 80%) #9536abCC  
rgb(149, 54, 171, 100%) #9536abFF  

Saturated and desaturated colors of #9536ab

HSL Code Preview
hsl(289, 10%, 44%)  
hsl(289, 20%, 44%)  
hsl(289, 40%, 44%)  
hsl(289, 60%, 44%)  
hsl(289, 80%, 44%)  
hsl(289, 100%, 44%)  

#9536ab Color Usage In CSS

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