Random Color Generator

#a532be Color

Color Codes
Hex Code #a532be
RGB Code rgb(165, 50, 190)
HSL Code hsl(289, 58%, 47%)

#a532be Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 50, 190);
   }

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, 58%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(165, 50, 190, 10%) #a532be1a  
rgb(165, 50, 190, 20%) #a532be33  
rgb(165, 50, 190, 40%) #a532be4C  
rgb(165, 50, 190, 60%) #a532be99  
rgb(165, 50, 190, 80%) #a532beCC  
rgb(165, 50, 190, 100%) #a532beFF  

Saturated and desaturated colors of #a532be

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

#a532be Color Usage In CSS

 body {
    color: #a532be;
    }
 p {
    color: rgb(165, 50, 190);
    }
 header {
    border-bottom:1px solid #a532be;
    }
Recent Random Colors