Random Color Generator

#cfb5ea Color

Color Codes
Hex Code #cfb5ea
RGB Code rgb(207, 181, 234)
HSL Code hsl(269, 56%, 81%)

#cfb5ea Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 181, 234);
   }

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, 56%, 81%);
  }

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

RGB Code Hex Code Preview
rgb(207, 181, 234, 10%) #cfb5ea1a  
rgb(207, 181, 234, 20%) #cfb5ea33  
rgb(207, 181, 234, 40%) #cfb5ea4C  
rgb(207, 181, 234, 60%) #cfb5ea99  
rgb(207, 181, 234, 80%) #cfb5eaCC  
rgb(207, 181, 234, 100%) #cfb5eaFF  

Saturated and desaturated colors of #cfb5ea

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

#cfb5ea Color Usage In CSS

 body {
    color: #cfb5ea;
    }
 p {
    color: rgb(207, 181, 234);
    }
 header {
    border-bottom:1px solid #cfb5ea;
    }
Recent Random Colors