Random Color Generator

#c7c41f Color

Color Codes
Hex Code #c7c41f
RGB Code rgb(199, 196, 31)
HSL Code hsl(59, 73%, 45%)

#c7c41f Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 196, 31);
   }

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(59, 73%, 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 #c7c41f

RGB Code Hex Code Preview
rgb(199, 196, 31, 10%) #c7c41f1a  
rgb(199, 196, 31, 20%) #c7c41f33  
rgb(199, 196, 31, 40%) #c7c41f4C  
rgb(199, 196, 31, 60%) #c7c41f99  
rgb(199, 196, 31, 80%) #c7c41fCC  
rgb(199, 196, 31, 100%) #c7c41fFF  

Saturated and desaturated colors of #c7c41f

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

#c7c41f Color Usage In CSS

 body {
    color: #c7c41f;
    }
 p {
    color: rgb(199, 196, 31);
    }
 header {
    border-bottom:1px solid #c7c41f;
    }
Recent Random Colors