Random Color Generator

#c8a61e Color

Color Codes
Hex Code #c8a61e
RGB Code rgb(200, 166, 30)
HSL Code hsl(48, 74%, 45%)

#c8a61e Color Syntax

rgb()

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

 main {
    background-color: rgb(200, 166, 30);
   }

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(48, 74%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(200, 166, 30, 10%) #c8a61e1a  
rgb(200, 166, 30, 20%) #c8a61e33  
rgb(200, 166, 30, 40%) #c8a61e4C  
rgb(200, 166, 30, 60%) #c8a61e99  
rgb(200, 166, 30, 80%) #c8a61eCC  
rgb(200, 166, 30, 100%) #c8a61eFF  

Saturated and desaturated colors of #c8a61e

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

#c8a61e Color Usage In CSS

 body {
    color: #c8a61e;
    }
 p {
    color: rgb(200, 166, 30);
    }
 header {
    border-bottom:1px solid #c8a61e;
    }
Recent Random Colors