Random Color Generator

#a57494 Color

Color Codes
Hex Code #a57494
RGB Code rgb(165, 116, 148)
HSL Code hsl(321, 21%, 55%)

#a57494 Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 116, 148);
   }

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(321, 21%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(165, 116, 148, 10%) #a574941a  
rgb(165, 116, 148, 20%) #a5749433  
rgb(165, 116, 148, 40%) #a574944C  
rgb(165, 116, 148, 60%) #a5749499  
rgb(165, 116, 148, 80%) #a57494CC  
rgb(165, 116, 148, 100%) #a57494FF  

Saturated and desaturated colors of #a57494

HSL Code Preview
hsl(321, 10%, 55%)  
hsl(321, 20%, 55%)  
hsl(321, 40%, 55%)  
hsl(321, 60%, 55%)  
hsl(321, 80%, 55%)  
hsl(321, 100%, 55%)  

#a57494 Color Usage In CSS

 body {
    color: #a57494;
    }
 p {
    color: rgb(165, 116, 148);
    }
 header {
    border-bottom:1px solid #a57494;
    }
Recent Random Colors