Random Color Generator

#9d7a88 Color

Color Codes
Hex Code #9d7a88
RGB Code rgb(157, 122, 136)
HSL Code hsl(336, 15%, 55%)

#9d7a88 Color Syntax

rgb()

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

 main {
    background-color: rgb(157, 122, 136);
   }

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(336, 15%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(157, 122, 136, 10%) #9d7a881a  
rgb(157, 122, 136, 20%) #9d7a8833  
rgb(157, 122, 136, 40%) #9d7a884C  
rgb(157, 122, 136, 60%) #9d7a8899  
rgb(157, 122, 136, 80%) #9d7a88CC  
rgb(157, 122, 136, 100%) #9d7a88FF  

Saturated and desaturated colors of #9d7a88

HSL Code Preview
hsl(336, 10%, 55%)  
hsl(336, 20%, 55%)  
hsl(336, 40%, 55%)  
hsl(336, 60%, 55%)  
hsl(336, 80%, 55%)  
hsl(336, 100%, 55%)  

#9d7a88 Color Usage In CSS

 body {
    color: #9d7a88;
    }
 p {
    color: rgb(157, 122, 136);
    }
 header {
    border-bottom:1px solid #9d7a88;
    }
Recent Random Colors