Random Color Generator

#d1cdfa Color

Color Codes
Hex Code #d1cdfa
RGB Code rgb(209, 205, 250)
HSL Code hsl(245, 82%, 89%)

#d1cdfa Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 205, 250);
   }

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(245, 82%, 89%);
  }

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

RGB Code Hex Code Preview
rgb(209, 205, 250, 10%) #d1cdfa1a  
rgb(209, 205, 250, 20%) #d1cdfa33  
rgb(209, 205, 250, 40%) #d1cdfa4C  
rgb(209, 205, 250, 60%) #d1cdfa99  
rgb(209, 205, 250, 80%) #d1cdfaCC  
rgb(209, 205, 250, 100%) #d1cdfaFF  

Saturated and desaturated colors of #d1cdfa

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

#d1cdfa Color Usage In CSS

 body {
    color: #d1cdfa;
    }
 p {
    color: rgb(209, 205, 250);
    }
 header {
    border-bottom:1px solid #d1cdfa;
    }
Recent Random Colors