Random Color Generator

#c8a766 Color

Color Codes
Hex Code #c8a766
RGB Code rgb(200, 167, 102)
HSL Code hsl(40, 47%, 59%)

#c8a766 Color Syntax

rgb()

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

 main {
    background-color: rgb(200, 167, 102);
   }

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(40, 47%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(200, 167, 102, 10%) #c8a7661a  
rgb(200, 167, 102, 20%) #c8a76633  
rgb(200, 167, 102, 40%) #c8a7664C  
rgb(200, 167, 102, 60%) #c8a76699  
rgb(200, 167, 102, 80%) #c8a766CC  
rgb(200, 167, 102, 100%) #c8a766FF  

Saturated and desaturated colors of #c8a766

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

#c8a766 Color Usage In CSS

 body {
    color: #c8a766;
    }
 p {
    color: rgb(200, 167, 102);
    }
 header {
    border-bottom:1px solid #c8a766;
    }
Recent Random Colors