Random Color Generator

#a5b1ff Color

Color Codes
Hex Code #a5b1ff
RGB Code rgb(165, 177, 255)
HSL Code hsl(232, 100%, 82%)

#a5b1ff Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 177, 255);
   }

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(232, 100%, 82%);
  }

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

RGB Code Hex Code Preview
rgb(165, 177, 255, 10%) #a5b1ff1a  
rgb(165, 177, 255, 20%) #a5b1ff33  
rgb(165, 177, 255, 40%) #a5b1ff4C  
rgb(165, 177, 255, 60%) #a5b1ff99  
rgb(165, 177, 255, 80%) #a5b1ffCC  
rgb(165, 177, 255, 100%) #a5b1ffFF  

Saturated and desaturated colors of #a5b1ff

HSL Code Preview
hsl(232, 10%, 82%)  
hsl(232, 20%, 82%)  
hsl(232, 40%, 82%)  
hsl(232, 60%, 82%)  
hsl(232, 80%, 82%)  
hsl(232, 100%, 82%)  

#a5b1ff Color Usage In CSS

 body {
    color: #a5b1ff;
    }
 p {
    color: rgb(165, 177, 255);
    }
 header {
    border-bottom:1px solid #a5b1ff;
    }
Recent Random Colors