Random Color Generator

#c7c442 Color

Color Codes
Hex Code #c7c442
RGB Code rgb(199, 196, 66)
HSL Code hsl(59, 54%, 52%)

#c7c442 Color Syntax

rgb()

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

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

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, 54%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(199, 196, 66, 10%) #c7c4421a  
rgb(199, 196, 66, 20%) #c7c44233  
rgb(199, 196, 66, 40%) #c7c4424C  
rgb(199, 196, 66, 60%) #c7c44299  
rgb(199, 196, 66, 80%) #c7c442CC  
rgb(199, 196, 66, 100%) #c7c442FF  

Saturated and desaturated colors of #c7c442

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

#c7c442 Color Usage In CSS

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