Random Color Generator

#a58ecc Color

Color Codes
Hex Code #a58ecc
RGB Code rgb(165, 142, 204)
HSL Code hsl(262, 38%, 68%)

#a58ecc Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 142, 204);
   }

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(262, 38%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(165, 142, 204, 10%) #a58ecc1a  
rgb(165, 142, 204, 20%) #a58ecc33  
rgb(165, 142, 204, 40%) #a58ecc4C  
rgb(165, 142, 204, 60%) #a58ecc99  
rgb(165, 142, 204, 80%) #a58eccCC  
rgb(165, 142, 204, 100%) #a58eccFF  

Saturated and desaturated colors of #a58ecc

HSL Code Preview
hsl(262, 10%, 68%)  
hsl(262, 20%, 68%)  
hsl(262, 40%, 68%)  
hsl(262, 60%, 68%)  
hsl(262, 80%, 68%)  
hsl(262, 100%, 68%)  

#a58ecc Color Usage In CSS

 body {
    color: #a58ecc;
    }
 p {
    color: rgb(165, 142, 204);
    }
 header {
    border-bottom:1px solid #a58ecc;
    }
Recent Random Colors