Random Color Generator

#ab5dad Color

Color Codes
Hex Code #ab5dad
RGB Code rgb(171, 93, 173)
HSL Code hsl(299, 33%, 52%)

#ab5dad Color Syntax

rgb()

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

 main {
    background-color: rgb(171, 93, 173);
   }

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(299, 33%, 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 #ab5dad

RGB Code Hex Code Preview
rgb(171, 93, 173, 10%) #ab5dad1a  
rgb(171, 93, 173, 20%) #ab5dad33  
rgb(171, 93, 173, 40%) #ab5dad4C  
rgb(171, 93, 173, 60%) #ab5dad99  
rgb(171, 93, 173, 80%) #ab5dadCC  
rgb(171, 93, 173, 100%) #ab5dadFF  

Saturated and desaturated colors of #ab5dad

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

#ab5dad Color Usage In CSS

 body {
    color: #ab5dad;
    }
 p {
    color: rgb(171, 93, 173);
    }
 header {
    border-bottom:1px solid #ab5dad;
    }
Recent Random Colors