Random Color Generator

#c1d9a2 Color

Color Codes
Hex Code #c1d9a2
RGB Code rgb(193, 217, 162)
HSL Code hsl(86, 42%, 74%)

#c1d9a2 Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 217, 162);
   }

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(86, 42%, 74%);
  }

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

RGB Code Hex Code Preview
rgb(193, 217, 162, 10%) #c1d9a21a  
rgb(193, 217, 162, 20%) #c1d9a233  
rgb(193, 217, 162, 40%) #c1d9a24C  
rgb(193, 217, 162, 60%) #c1d9a299  
rgb(193, 217, 162, 80%) #c1d9a2CC  
rgb(193, 217, 162, 100%) #c1d9a2FF  

Saturated and desaturated colors of #c1d9a2

HSL Code Preview
hsl(86, 10%, 74%)  
hsl(86, 20%, 74%)  
hsl(86, 40%, 74%)  
hsl(86, 60%, 74%)  
hsl(86, 80%, 74%)  
hsl(86, 100%, 74%)  

#c1d9a2 Color Usage In CSS

 body {
    color: #c1d9a2;
    }
 p {
    color: rgb(193, 217, 162);
    }
 header {
    border-bottom:1px solid #c1d9a2;
    }
Recent Random Colors