Random Color Generator

#ab9ef8 Color

Color Codes
Hex Code #ab9ef8
RGB Code rgb(171, 158, 248)
HSL Code hsl(249, 87%, 80%)

#ab9ef8 Color Syntax

rgb()

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

 main {
    background-color: rgb(171, 158, 248);
   }

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(249, 87%, 80%);
  }

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

RGB Code Hex Code Preview
rgb(171, 158, 248, 10%) #ab9ef81a  
rgb(171, 158, 248, 20%) #ab9ef833  
rgb(171, 158, 248, 40%) #ab9ef84C  
rgb(171, 158, 248, 60%) #ab9ef899  
rgb(171, 158, 248, 80%) #ab9ef8CC  
rgb(171, 158, 248, 100%) #ab9ef8FF  

Saturated and desaturated colors of #ab9ef8

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

#ab9ef8 Color Usage In CSS

 body {
    color: #ab9ef8;
    }
 p {
    color: rgb(171, 158, 248);
    }
 header {
    border-bottom:1px solid #ab9ef8;
    }
Recent Random Colors