Random Color Generator

#a34aac Color

Color Codes
Hex Code #a34aac
RGB Code rgb(163, 74, 172)
HSL Code hsl(294, 40%, 48%)

#a34aac Color Syntax

rgb()

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

 main {
    background-color: rgb(163, 74, 172);
   }

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(294, 40%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(163, 74, 172, 10%) #a34aac1a  
rgb(163, 74, 172, 20%) #a34aac33  
rgb(163, 74, 172, 40%) #a34aac4C  
rgb(163, 74, 172, 60%) #a34aac99  
rgb(163, 74, 172, 80%) #a34aacCC  
rgb(163, 74, 172, 100%) #a34aacFF  

Saturated and desaturated colors of #a34aac

HSL Code Preview
hsl(294, 10%, 48%)  
hsl(294, 20%, 48%)  
hsl(294, 40%, 48%)  
hsl(294, 60%, 48%)  
hsl(294, 80%, 48%)  
hsl(294, 100%, 48%)  

#a34aac Color Usage In CSS

 body {
    color: #a34aac;
    }
 p {
    color: rgb(163, 74, 172);
    }
 header {
    border-bottom:1px solid #a34aac;
    }
Recent Random Colors