Random Color Generator

#d1b5ef Color

Color Codes
Hex Code #d1b5ef
RGB Code rgb(209, 181, 239)
HSL Code hsl(269, 64%, 82%)

#d1b5ef Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 181, 239);
   }

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(269, 64%, 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 #d1b5ef

RGB Code Hex Code Preview
rgb(209, 181, 239, 10%) #d1b5ef1a  
rgb(209, 181, 239, 20%) #d1b5ef33  
rgb(209, 181, 239, 40%) #d1b5ef4C  
rgb(209, 181, 239, 60%) #d1b5ef99  
rgb(209, 181, 239, 80%) #d1b5efCC  
rgb(209, 181, 239, 100%) #d1b5efFF  

Saturated and desaturated colors of #d1b5ef

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

#d1b5ef Color Usage In CSS

 body {
    color: #d1b5ef;
    }
 p {
    color: rgb(209, 181, 239);
    }
 header {
    border-bottom:1px solid #d1b5ef;
    }
Recent Random Colors