Random Color Generator

#8523ae Color

Color Codes
Hex Code #8523ae
RGB Code rgb(133, 35, 174)
HSL Code hsl(282, 67%, 41%)

#8523ae Color Syntax

rgb()

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

 main {
    background-color: rgb(133, 35, 174);
   }

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(282, 67%, 41%);
  }

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 #8523ae

RGB Code Hex Code Preview
rgb(133, 35, 174, 10%) #8523ae1a  
rgb(133, 35, 174, 20%) #8523ae33  
rgb(133, 35, 174, 40%) #8523ae4C  
rgb(133, 35, 174, 60%) #8523ae99  
rgb(133, 35, 174, 80%) #8523aeCC  
rgb(133, 35, 174, 100%) #8523aeFF  

Saturated and desaturated colors of #8523ae

HSL Code Preview
hsl(282, 10%, 41%)  
hsl(282, 20%, 41%)  
hsl(282, 40%, 41%)  
hsl(282, 60%, 41%)  
hsl(282, 80%, 41%)  
hsl(282, 100%, 41%)  

#8523ae Color Usage In CSS

 body {
    color: #8523ae;
    }
 p {
    color: rgb(133, 35, 174);
    }
 header {
    border-bottom:1px solid #8523ae;
    }
Recent Random Colors