Random Color Generator

#c0a031 Color

Color Codes
Hex Code #c0a031
RGB Code rgb(192, 160, 49)
HSL Code hsl(47, 59%, 47%)

#c0a031 Color Syntax

rgb()

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

 main {
    background-color: rgb(192, 160, 49);
   }

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(47, 59%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(192, 160, 49, 10%) #c0a0311a  
rgb(192, 160, 49, 20%) #c0a03133  
rgb(192, 160, 49, 40%) #c0a0314C  
rgb(192, 160, 49, 60%) #c0a03199  
rgb(192, 160, 49, 80%) #c0a031CC  
rgb(192, 160, 49, 100%) #c0a031FF  

Saturated and desaturated colors of #c0a031

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

#c0a031 Color Usage In CSS

 body {
    color: #c0a031;
    }
 p {
    color: rgb(192, 160, 49);
    }
 header {
    border-bottom:1px solid #c0a031;
    }
Recent Random Colors