Random Color Generator

#aa9edb Color

Color Codes
Hex Code #aa9edb
RGB Code rgb(170, 158, 219)
HSL Code hsl(252, 46%, 74%)

#aa9edb Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 158, 219);
   }

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(252, 46%, 74%);
  }

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

RGB Code Hex Code Preview
rgb(170, 158, 219, 10%) #aa9edb1a  
rgb(170, 158, 219, 20%) #aa9edb33  
rgb(170, 158, 219, 40%) #aa9edb4C  
rgb(170, 158, 219, 60%) #aa9edb99  
rgb(170, 158, 219, 80%) #aa9edbCC  
rgb(170, 158, 219, 100%) #aa9edbFF  

Saturated and desaturated colors of #aa9edb

HSL Code Preview
hsl(252, 10%, 74%)  
hsl(252, 20%, 74%)  
hsl(252, 40%, 74%)  
hsl(252, 60%, 74%)  
hsl(252, 80%, 74%)  
hsl(252, 100%, 74%)  

#aa9edb Color Usage In CSS

 body {
    color: #aa9edb;
    }
 p {
    color: rgb(170, 158, 219);
    }
 header {
    border-bottom:1px solid #aa9edb;
    }
Recent Random Colors