Random Color Generator

#9e5865 Color

Color Codes
Hex Code #9e5865
RGB Code rgb(158, 88, 101)
HSL Code hsl(349, 28%, 48%)

#9e5865 Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 88, 101);
   }

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(349, 28%, 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 #9e5865

RGB Code Hex Code Preview
rgb(158, 88, 101, 10%) #9e58651a  
rgb(158, 88, 101, 20%) #9e586533  
rgb(158, 88, 101, 40%) #9e58654C  
rgb(158, 88, 101, 60%) #9e586599  
rgb(158, 88, 101, 80%) #9e5865CC  
rgb(158, 88, 101, 100%) #9e5865FF  

Saturated and desaturated colors of #9e5865

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

#9e5865 Color Usage In CSS

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