Random Color Generator

#aa78fa Color

Color Codes
Hex Code #aa78fa
RGB Code rgb(170, 120, 250)
HSL Code hsl(263, 93%, 73%)

#aa78fa Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 120, 250);
   }

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(263, 93%, 73%);
  }

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

RGB Code Hex Code Preview
rgb(170, 120, 250, 10%) #aa78fa1a  
rgb(170, 120, 250, 20%) #aa78fa33  
rgb(170, 120, 250, 40%) #aa78fa4C  
rgb(170, 120, 250, 60%) #aa78fa99  
rgb(170, 120, 250, 80%) #aa78faCC  
rgb(170, 120, 250, 100%) #aa78faFF  

Saturated and desaturated colors of #aa78fa

HSL Code Preview
hsl(263, 10%, 73%)  
hsl(263, 20%, 73%)  
hsl(263, 40%, 73%)  
hsl(263, 60%, 73%)  
hsl(263, 80%, 73%)  
hsl(263, 100%, 73%)  

#aa78fa Color Usage In CSS

 body {
    color: #aa78fa;
    }
 p {
    color: rgb(170, 120, 250);
    }
 header {
    border-bottom:1px solid #aa78fa;
    }
Recent Random Colors