Random Color Generator

#c7b71c Color

Color Codes
Hex Code #c7b71c
RGB Code rgb(199, 183, 28)
HSL Code hsl(54, 75%, 45%)

#c7b71c Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 183, 28);
   }

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(54, 75%, 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 #c7b71c

RGB Code Hex Code Preview
rgb(199, 183, 28, 10%) #c7b71c1a  
rgb(199, 183, 28, 20%) #c7b71c33  
rgb(199, 183, 28, 40%) #c7b71c4C  
rgb(199, 183, 28, 60%) #c7b71c99  
rgb(199, 183, 28, 80%) #c7b71cCC  
rgb(199, 183, 28, 100%) #c7b71cFF  

Saturated and desaturated colors of #c7b71c

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

#c7b71c Color Usage In CSS

 body {
    color: #c7b71c;
    }
 p {
    color: rgb(199, 183, 28);
    }
 header {
    border-bottom:1px solid #c7b71c;
    }
Recent Random Colors