Random Color Generator

#aa56bf Color

Color Codes
Hex Code #aa56bf
RGB Code rgb(170, 86, 191)
HSL Code hsl(288, 45%, 54%)

#aa56bf Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 86, 191);
   }

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, 45%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(170, 86, 191, 10%) #aa56bf1a  
rgb(170, 86, 191, 20%) #aa56bf33  
rgb(170, 86, 191, 40%) #aa56bf4C  
rgb(170, 86, 191, 60%) #aa56bf99  
rgb(170, 86, 191, 80%) #aa56bfCC  
rgb(170, 86, 191, 100%) #aa56bfFF  

Saturated and desaturated colors of #aa56bf

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

#aa56bf Color Usage In CSS

 body {
    color: #aa56bf;
    }
 p {
    color: rgb(170, 86, 191);
    }
 header {
    border-bottom:1px solid #aa56bf;
    }
Recent Random Colors