Random Color Generator

#a13992 Color

Color Codes
Hex Code #a13992
RGB Code rgb(161, 57, 146)
HSL Code hsl(309, 48%, 43%)

#a13992 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 57, 146);
   }

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(309, 48%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(161, 57, 146, 10%) #a139921a  
rgb(161, 57, 146, 20%) #a1399233  
rgb(161, 57, 146, 40%) #a139924C  
rgb(161, 57, 146, 60%) #a1399299  
rgb(161, 57, 146, 80%) #a13992CC  
rgb(161, 57, 146, 100%) #a13992FF  

Saturated and desaturated colors of #a13992

HSL Code Preview
hsl(309, 10%, 43%)  
hsl(309, 20%, 43%)  
hsl(309, 40%, 43%)  
hsl(309, 60%, 43%)  
hsl(309, 80%, 43%)  
hsl(309, 100%, 43%)  

#a13992 Color Usage In CSS

 body {
    color: #a13992;
    }
 p {
    color: rgb(161, 57, 146);
    }
 header {
    border-bottom:1px solid #a13992;
    }
Recent Random Colors