Random Color Generator

#dcc756 Color

Color Codes
Hex Code #dcc756
RGB Code rgb(220, 199, 86)
HSL Code hsl(51, 66%, 60%)

#dcc756 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 199, 86);
   }

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(51, 66%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(220, 199, 86, 10%) #dcc7561a  
rgb(220, 199, 86, 20%) #dcc75633  
rgb(220, 199, 86, 40%) #dcc7564C  
rgb(220, 199, 86, 60%) #dcc75699  
rgb(220, 199, 86, 80%) #dcc756CC  
rgb(220, 199, 86, 100%) #dcc756FF  

Saturated and desaturated colors of #dcc756

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

#dcc756 Color Usage In CSS

 body {
    color: #dcc756;
    }
 p {
    color: rgb(220, 199, 86);
    }
 header {
    border-bottom:1px solid #dcc756;
    }
Recent Random Colors