Random Color Generator

#a1b2ed Color

Color Codes
Hex Code #a1b2ed
RGB Code rgb(161, 178, 237)
HSL Code hsl(227, 68%, 78%)

#a1b2ed Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 178, 237);
   }

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(227, 68%, 78%);
  }

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

RGB Code Hex Code Preview
rgb(161, 178, 237, 10%) #a1b2ed1a  
rgb(161, 178, 237, 20%) #a1b2ed33  
rgb(161, 178, 237, 40%) #a1b2ed4C  
rgb(161, 178, 237, 60%) #a1b2ed99  
rgb(161, 178, 237, 80%) #a1b2edCC  
rgb(161, 178, 237, 100%) #a1b2edFF  

Saturated and desaturated colors of #a1b2ed

HSL Code Preview
hsl(227, 10%, 78%)  
hsl(227, 20%, 78%)  
hsl(227, 40%, 78%)  
hsl(227, 60%, 78%)  
hsl(227, 80%, 78%)  
hsl(227, 100%, 78%)  

#a1b2ed Color Usage In CSS

 body {
    color: #a1b2ed;
    }
 p {
    color: rgb(161, 178, 237);
    }
 header {
    border-bottom:1px solid #a1b2ed;
    }
Recent Random Colors