Random Color Generator

#aa54bd Color

Color Codes
Hex Code #aa54bd
RGB Code rgb(170, 84, 189)
HSL Code hsl(289, 44%, 54%)

#aa54bd Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 84, 189);
   }

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(289, 44%, 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 #aa54bd

RGB Code Hex Code Preview
rgb(170, 84, 189, 10%) #aa54bd1a  
rgb(170, 84, 189, 20%) #aa54bd33  
rgb(170, 84, 189, 40%) #aa54bd4C  
rgb(170, 84, 189, 60%) #aa54bd99  
rgb(170, 84, 189, 80%) #aa54bdCC  
rgb(170, 84, 189, 100%) #aa54bdFF  

Saturated and desaturated colors of #aa54bd

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

#aa54bd Color Usage In CSS

 body {
    color: #aa54bd;
    }
 p {
    color: rgb(170, 84, 189);
    }
 header {
    border-bottom:1px solid #aa54bd;
    }
Recent Random Colors