Random Color Generator

#ad7bba Color

Color Codes
Hex Code #ad7bba
RGB Code rgb(173, 123, 186)
HSL Code hsl(288, 31%, 61%)

#ad7bba Color Syntax

rgb()

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

 main {
    background-color: rgb(173, 123, 186);
   }

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(288, 31%, 61%);
  }

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 #ad7bba

RGB Code Hex Code Preview
rgb(173, 123, 186, 10%) #ad7bba1a  
rgb(173, 123, 186, 20%) #ad7bba33  
rgb(173, 123, 186, 40%) #ad7bba4C  
rgb(173, 123, 186, 60%) #ad7bba99  
rgb(173, 123, 186, 80%) #ad7bbaCC  
rgb(173, 123, 186, 100%) #ad7bbaFF  

Saturated and desaturated colors of #ad7bba

HSL Code Preview
hsl(288, 10%, 61%)  
hsl(288, 20%, 61%)  
hsl(288, 40%, 61%)  
hsl(288, 60%, 61%)  
hsl(288, 80%, 61%)  
hsl(288, 100%, 61%)  

#ad7bba Color Usage In CSS

 body {
    color: #ad7bba;
    }
 p {
    color: rgb(173, 123, 186);
    }
 header {
    border-bottom:1px solid #ad7bba;
    }
Recent Random Colors