Random Color Generator

#d1affb Color

Color Codes
Hex Code #d1affb
RGB Code rgb(209, 175, 251)
HSL Code hsl(267, 90%, 84%)

#d1affb Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 175, 251);
   }

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(267, 90%, 84%);
  }

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

RGB Code Hex Code Preview
rgb(209, 175, 251, 10%) #d1affb1a  
rgb(209, 175, 251, 20%) #d1affb33  
rgb(209, 175, 251, 40%) #d1affb4C  
rgb(209, 175, 251, 60%) #d1affb99  
rgb(209, 175, 251, 80%) #d1affbCC  
rgb(209, 175, 251, 100%) #d1affbFF  

Saturated and desaturated colors of #d1affb

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

#d1affb Color Usage In CSS

 body {
    color: #d1affb;
    }
 p {
    color: rgb(209, 175, 251);
    }
 header {
    border-bottom:1px solid #d1affb;
    }
Recent Random Colors