Random Color Generator

#a1a3c8 Color

Color Codes
Hex Code #a1a3c8
RGB Code rgb(161, 163, 200)
HSL Code hsl(237, 26%, 71%)

#a1a3c8 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 163, 200);
   }

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(237, 26%, 71%);
  }

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

RGB Code Hex Code Preview
rgb(161, 163, 200, 10%) #a1a3c81a  
rgb(161, 163, 200, 20%) #a1a3c833  
rgb(161, 163, 200, 40%) #a1a3c84C  
rgb(161, 163, 200, 60%) #a1a3c899  
rgb(161, 163, 200, 80%) #a1a3c8CC  
rgb(161, 163, 200, 100%) #a1a3c8FF  

Saturated and desaturated colors of #a1a3c8

HSL Code Preview
hsl(237, 10%, 71%)  
hsl(237, 20%, 71%)  
hsl(237, 40%, 71%)  
hsl(237, 60%, 71%)  
hsl(237, 80%, 71%)  
hsl(237, 100%, 71%)  

#a1a3c8 Color Usage In CSS

 body {
    color: #a1a3c8;
    }
 p {
    color: rgb(161, 163, 200);
    }
 header {
    border-bottom:1px solid #a1a3c8;
    }
Recent Random Colors