Random Color Generator

#aa4deb Color

Color Codes
Hex Code #aa4deb
RGB Code rgb(170, 77, 235)
HSL Code hsl(275, 80%, 61%)

#aa4deb Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 77, 235);
   }

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(275, 80%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(170, 77, 235, 10%) #aa4deb1a  
rgb(170, 77, 235, 20%) #aa4deb33  
rgb(170, 77, 235, 40%) #aa4deb4C  
rgb(170, 77, 235, 60%) #aa4deb99  
rgb(170, 77, 235, 80%) #aa4debCC  
rgb(170, 77, 235, 100%) #aa4debFF  

Saturated and desaturated colors of #aa4deb

HSL Code Preview
hsl(275, 10%, 61%)  
hsl(275, 20%, 61%)  
hsl(275, 40%, 61%)  
hsl(275, 60%, 61%)  
hsl(275, 80%, 61%)  
hsl(275, 100%, 61%)  

#aa4deb Color Usage In CSS

 body {
    color: #aa4deb;
    }
 p {
    color: rgb(170, 77, 235);
    }
 header {
    border-bottom:1px solid #aa4deb;
    }
Recent Random Colors