Random Color Generator

#c5c222 Color

Color Codes
Hex Code #c5c222
RGB Code rgb(197, 194, 34)
HSL Code hsl(59, 71%, 45%)

#c5c222 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 194, 34);
   }

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, 71%, 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 #c5c222

RGB Code Hex Code Preview
rgb(197, 194, 34, 10%) #c5c2221a  
rgb(197, 194, 34, 20%) #c5c22233  
rgb(197, 194, 34, 40%) #c5c2224C  
rgb(197, 194, 34, 60%) #c5c22299  
rgb(197, 194, 34, 80%) #c5c222CC  
rgb(197, 194, 34, 100%) #c5c222FF  

Saturated and desaturated colors of #c5c222

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%)  

#c5c222 Color Usage In CSS

 body {
    color: #c5c222;
    }
 p {
    color: rgb(197, 194, 34);
    }
 header {
    border-bottom:1px solid #c5c222;
    }
Recent Random Colors