Random Color Generator

#c2b4fe Color

Color Codes
Hex Code #c2b4fe
RGB Code rgb(194, 180, 254)
HSL Code hsl(251, 97%, 85%)

#c2b4fe Color Syntax

rgb()

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

 main {
    background-color: rgb(194, 180, 254);
   }

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(251, 97%, 85%);
  }

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

RGB Code Hex Code Preview
rgb(194, 180, 254, 10%) #c2b4fe1a  
rgb(194, 180, 254, 20%) #c2b4fe33  
rgb(194, 180, 254, 40%) #c2b4fe4C  
rgb(194, 180, 254, 60%) #c2b4fe99  
rgb(194, 180, 254, 80%) #c2b4feCC  
rgb(194, 180, 254, 100%) #c2b4feFF  

Saturated and desaturated colors of #c2b4fe

HSL Code Preview
hsl(251, 10%, 85%)  
hsl(251, 20%, 85%)  
hsl(251, 40%, 85%)  
hsl(251, 60%, 85%)  
hsl(251, 80%, 85%)  
hsl(251, 100%, 85%)  

#c2b4fe Color Usage In CSS

 body {
    color: #c2b4fe;
    }
 p {
    color: rgb(194, 180, 254);
    }
 header {
    border-bottom:1px solid #c2b4fe;
    }
Recent Random Colors