Random Color Generator

#a884ea Color

Color Codes
Hex Code #a884ea
RGB Code rgb(168, 132, 234)
HSL Code hsl(261, 71%, 72%)

#a884ea Color Syntax

rgb()

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

 main {
    background-color: rgb(168, 132, 234);
   }

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(261, 71%, 72%);
  }

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

RGB Code Hex Code Preview
rgb(168, 132, 234, 10%) #a884ea1a  
rgb(168, 132, 234, 20%) #a884ea33  
rgb(168, 132, 234, 40%) #a884ea4C  
rgb(168, 132, 234, 60%) #a884ea99  
rgb(168, 132, 234, 80%) #a884eaCC  
rgb(168, 132, 234, 100%) #a884eaFF  

Saturated and desaturated colors of #a884ea

HSL Code Preview
hsl(261, 10%, 72%)  
hsl(261, 20%, 72%)  
hsl(261, 40%, 72%)  
hsl(261, 60%, 72%)  
hsl(261, 80%, 72%)  
hsl(261, 100%, 72%)  

#a884ea Color Usage In CSS

 body {
    color: #a884ea;
    }
 p {
    color: rgb(168, 132, 234);
    }
 header {
    border-bottom:1px solid #a884ea;
    }
Recent Random Colors