Random Color Generator

#a58de1 Color

Color Codes
Hex Code #a58de1
RGB Code rgb(165, 141, 225)
HSL Code hsl(257, 58%, 72%)

#a58de1 Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 141, 225);
   }

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(257, 58%, 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 #a58de1

RGB Code Hex Code Preview
rgb(165, 141, 225, 10%) #a58de11a  
rgb(165, 141, 225, 20%) #a58de133  
rgb(165, 141, 225, 40%) #a58de14C  
rgb(165, 141, 225, 60%) #a58de199  
rgb(165, 141, 225, 80%) #a58de1CC  
rgb(165, 141, 225, 100%) #a58de1FF  

Saturated and desaturated colors of #a58de1

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

#a58de1 Color Usage In CSS

 body {
    color: #a58de1;
    }
 p {
    color: rgb(165, 141, 225);
    }
 header {
    border-bottom:1px solid #a58de1;
    }
Recent Random Colors