Random Color Generator

#c7b9f4 Color

Color Codes
Hex Code #c7b9f4
RGB Code rgb(199, 185, 244)
HSL Code hsl(254, 73%, 84%)

#c7b9f4 Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 185, 244);
   }

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(254, 73%, 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 #c7b9f4

RGB Code Hex Code Preview
rgb(199, 185, 244, 10%) #c7b9f41a  
rgb(199, 185, 244, 20%) #c7b9f433  
rgb(199, 185, 244, 40%) #c7b9f44C  
rgb(199, 185, 244, 60%) #c7b9f499  
rgb(199, 185, 244, 80%) #c7b9f4CC  
rgb(199, 185, 244, 100%) #c7b9f4FF  

Saturated and desaturated colors of #c7b9f4

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

#c7b9f4 Color Usage In CSS

 body {
    color: #c7b9f4;
    }
 p {
    color: rgb(199, 185, 244);
    }
 header {
    border-bottom:1px solid #c7b9f4;
    }
Recent Random Colors