Random Color Generator

#9e6989 Color

Color Codes
Hex Code #9e6989
RGB Code rgb(158, 105, 137)
HSL Code hsl(324, 21%, 52%)

#9e6989 Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 105, 137);
   }

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(324, 21%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(158, 105, 137, 10%) #9e69891a  
rgb(158, 105, 137, 20%) #9e698933  
rgb(158, 105, 137, 40%) #9e69894C  
rgb(158, 105, 137, 60%) #9e698999  
rgb(158, 105, 137, 80%) #9e6989CC  
rgb(158, 105, 137, 100%) #9e6989FF  

Saturated and desaturated colors of #9e6989

HSL Code Preview
hsl(324, 10%, 52%)  
hsl(324, 20%, 52%)  
hsl(324, 40%, 52%)  
hsl(324, 60%, 52%)  
hsl(324, 80%, 52%)  
hsl(324, 100%, 52%)  

#9e6989 Color Usage In CSS

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