Random Color Generator

#c9817e Color

Color Codes
Hex Code #c9817e
RGB Code rgb(201, 129, 126)
HSL Code hsl(2, 41%, 64%)

#c9817e Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 129, 126);
   }

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(2, 41%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(201, 129, 126, 10%) #c9817e1a  
rgb(201, 129, 126, 20%) #c9817e33  
rgb(201, 129, 126, 40%) #c9817e4C  
rgb(201, 129, 126, 60%) #c9817e99  
rgb(201, 129, 126, 80%) #c9817eCC  
rgb(201, 129, 126, 100%) #c9817eFF  

Saturated and desaturated colors of #c9817e

HSL Code Preview
hsl(2, 10%, 64%)  
hsl(2, 20%, 64%)  
hsl(2, 40%, 64%)  
hsl(2, 60%, 64%)  
hsl(2, 80%, 64%)  
hsl(2, 100%, 64%)  

#c9817e Color Usage In CSS

 body {
    color: #c9817e;
    }
 p {
    color: rgb(201, 129, 126);
    }
 header {
    border-bottom:1px solid #c9817e;
    }
Recent Random Colors