Random Color Generator

#a1d8e1 Color

Color Codes
Hex Code #a1d8e1
RGB Code rgb(161, 216, 225)
HSL Code hsl(188, 52%, 76%)

#a1d8e1 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 216, 225);
   }

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(188, 52%, 76%);
  }

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

RGB Code Hex Code Preview
rgb(161, 216, 225, 10%) #a1d8e11a  
rgb(161, 216, 225, 20%) #a1d8e133  
rgb(161, 216, 225, 40%) #a1d8e14C  
rgb(161, 216, 225, 60%) #a1d8e199  
rgb(161, 216, 225, 80%) #a1d8e1CC  
rgb(161, 216, 225, 100%) #a1d8e1FF  

Saturated and desaturated colors of #a1d8e1

HSL Code Preview
hsl(188, 10%, 76%)  
hsl(188, 20%, 76%)  
hsl(188, 40%, 76%)  
hsl(188, 60%, 76%)  
hsl(188, 80%, 76%)  
hsl(188, 100%, 76%)  

#a1d8e1 Color Usage In CSS

 body {
    color: #a1d8e1;
    }
 p {
    color: rgb(161, 216, 225);
    }
 header {
    border-bottom:1px solid #a1d8e1;
    }
Recent Random Colors