Random Color Generator

#9a5c73 Color

Color Codes
Hex Code #9a5c73
RGB Code rgb(154, 92, 115)
HSL Code hsl(338, 25%, 48%)

#9a5c73 Color Syntax

rgb()

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

 main {
    background-color: rgb(154, 92, 115);
   }

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(338, 25%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(154, 92, 115, 10%) #9a5c731a  
rgb(154, 92, 115, 20%) #9a5c7333  
rgb(154, 92, 115, 40%) #9a5c734C  
rgb(154, 92, 115, 60%) #9a5c7399  
rgb(154, 92, 115, 80%) #9a5c73CC  
rgb(154, 92, 115, 100%) #9a5c73FF  

Saturated and desaturated colors of #9a5c73

HSL Code Preview
hsl(338, 10%, 48%)  
hsl(338, 20%, 48%)  
hsl(338, 40%, 48%)  
hsl(338, 60%, 48%)  
hsl(338, 80%, 48%)  
hsl(338, 100%, 48%)  

#9a5c73 Color Usage In CSS

 body {
    color: #9a5c73;
    }
 p {
    color: rgb(154, 92, 115);
    }
 header {
    border-bottom:1px solid #9a5c73;
    }
Recent Random Colors