Random Color Generator

#9e6284 Color

Color Codes
Hex Code #9e6284
RGB Code rgb(158, 98, 132)
HSL Code hsl(326, 24%, 50%)

#9e6284 Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 98, 132);
   }

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(326, 24%, 50%);
  }

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 #9e6284

RGB Code Hex Code Preview
rgb(158, 98, 132, 10%) #9e62841a  
rgb(158, 98, 132, 20%) #9e628433  
rgb(158, 98, 132, 40%) #9e62844C  
rgb(158, 98, 132, 60%) #9e628499  
rgb(158, 98, 132, 80%) #9e6284CC  
rgb(158, 98, 132, 100%) #9e6284FF  

Saturated and desaturated colors of #9e6284

HSL Code Preview
hsl(326, 10%, 50%)  
hsl(326, 20%, 50%)  
hsl(326, 40%, 50%)  
hsl(326, 60%, 50%)  
hsl(326, 80%, 50%)  
hsl(326, 100%, 50%)  

#9e6284 Color Usage In CSS

 body {
    color: #9e6284;
    }
 p {
    color: rgb(158, 98, 132);
    }
 header {
    border-bottom:1px solid #9e6284;
    }
Recent Random Colors