Random Color Generator

#a505bf Color

Color Codes
Hex Code #a505bf
RGB Code rgb(165, 05, 191)
HSL Code hsl(292, 95%, 38%)

#a505bf Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 05, 191);
   }

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(292, 95%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(165, 05, 191, 10%) #a505bf1a  
rgb(165, 05, 191, 20%) #a505bf33  
rgb(165, 05, 191, 40%) #a505bf4C  
rgb(165, 05, 191, 60%) #a505bf99  
rgb(165, 05, 191, 80%) #a505bfCC  
rgb(165, 05, 191, 100%) #a505bfFF  

Saturated and desaturated colors of #a505bf

HSL Code Preview
hsl(292, 10%, 38%)  
hsl(292, 20%, 38%)  
hsl(292, 40%, 38%)  
hsl(292, 60%, 38%)  
hsl(292, 80%, 38%)  
hsl(292, 100%, 38%)  

#a505bf Color Usage In CSS

 body {
    color: #a505bf;
    }
 p {
    color: rgb(165, 05, 191);
    }
 header {
    border-bottom:1px solid #a505bf;
    }
Recent Random Colors