Random Color Generator

#c6c397 Color

Color Codes
Hex Code #c6c397
RGB Code rgb(198, 195, 151)
HSL Code hsl(56, 29%, 68%)

#c6c397 Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 195, 151);
   }

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(56, 29%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(198, 195, 151, 10%) #c6c3971a  
rgb(198, 195, 151, 20%) #c6c39733  
rgb(198, 195, 151, 40%) #c6c3974C  
rgb(198, 195, 151, 60%) #c6c39799  
rgb(198, 195, 151, 80%) #c6c397CC  
rgb(198, 195, 151, 100%) #c6c397FF  

Saturated and desaturated colors of #c6c397

HSL Code Preview
hsl(56, 10%, 68%)  
hsl(56, 20%, 68%)  
hsl(56, 40%, 68%)  
hsl(56, 60%, 68%)  
hsl(56, 80%, 68%)  
hsl(56, 100%, 68%)  

#c6c397 Color Usage In CSS

 body {
    color: #c6c397;
    }
 p {
    color: rgb(198, 195, 151);
    }
 header {
    border-bottom:1px solid #c6c397;
    }
Recent Random Colors