Random Color Generator

#cb9ecc Color

Color Codes
Hex Code #cb9ecc
RGB Code rgb(203, 158, 204)
HSL Code hsl(299, 31%, 71%)

#cb9ecc Color Syntax

rgb()

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

 main {
    background-color: rgb(203, 158, 204);
   }

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(299, 31%, 71%);
  }

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

RGB Code Hex Code Preview
rgb(203, 158, 204, 10%) #cb9ecc1a  
rgb(203, 158, 204, 20%) #cb9ecc33  
rgb(203, 158, 204, 40%) #cb9ecc4C  
rgb(203, 158, 204, 60%) #cb9ecc99  
rgb(203, 158, 204, 80%) #cb9eccCC  
rgb(203, 158, 204, 100%) #cb9eccFF  

Saturated and desaturated colors of #cb9ecc

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

#cb9ecc Color Usage In CSS

 body {
    color: #cb9ecc;
    }
 p {
    color: rgb(203, 158, 204);
    }
 header {
    border-bottom:1px solid #cb9ecc;
    }
Recent Random Colors