Random Color Generator

#d1cc3c Color

Color Codes
Hex Code #d1cc3c
RGB Code rgb(209, 204, 60)
HSL Code hsl(58, 62%, 53%)

#d1cc3c Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 204, 60);
   }

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(58, 62%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(209, 204, 60, 10%) #d1cc3c1a  
rgb(209, 204, 60, 20%) #d1cc3c33  
rgb(209, 204, 60, 40%) #d1cc3c4C  
rgb(209, 204, 60, 60%) #d1cc3c99  
rgb(209, 204, 60, 80%) #d1cc3cCC  
rgb(209, 204, 60, 100%) #d1cc3cFF  

Saturated and desaturated colors of #d1cc3c

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

#d1cc3c Color Usage In CSS

 body {
    color: #d1cc3c;
    }
 p {
    color: rgb(209, 204, 60);
    }
 header {
    border-bottom:1px solid #d1cc3c;
    }
Recent Random Colors