Random Color Generator

#ab64ab Color

Color Codes
Hex Code #ab64ab
RGB Code rgb(171, 100, 171)
HSL Code hsl(300, 30%, 53%)

#ab64ab Color Syntax

rgb()

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

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

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(300, 30%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(171, 100, 171, 10%) #ab64ab1a  
rgb(171, 100, 171, 20%) #ab64ab33  
rgb(171, 100, 171, 40%) #ab64ab4C  
rgb(171, 100, 171, 60%) #ab64ab99  
rgb(171, 100, 171, 80%) #ab64abCC  
rgb(171, 100, 171, 100%) #ab64abFF  

Saturated and desaturated colors of #ab64ab

HSL Code Preview
hsl(300, 10%, 53%)  
hsl(300, 20%, 53%)  
hsl(300, 40%, 53%)  
hsl(300, 60%, 53%)  
hsl(300, 80%, 53%)  
hsl(300, 100%, 53%)  

#ab64ab Color Usage In CSS

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