Random Color Generator

#dcd24c Color

Color Codes
Hex Code #dcd24c
RGB Code rgb(220, 210, 76)
HSL Code hsl(56, 67%, 58%)

#dcd24c Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 210, 76);
   }

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(56, 67%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(220, 210, 76, 10%) #dcd24c1a  
rgb(220, 210, 76, 20%) #dcd24c33  
rgb(220, 210, 76, 40%) #dcd24c4C  
rgb(220, 210, 76, 60%) #dcd24c99  
rgb(220, 210, 76, 80%) #dcd24cCC  
rgb(220, 210, 76, 100%) #dcd24cFF  

Saturated and desaturated colors of #dcd24c

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

#dcd24c Color Usage In CSS

 body {
    color: #dcd24c;
    }
 p {
    color: rgb(220, 210, 76);
    }
 header {
    border-bottom:1px solid #dcd24c;
    }
Recent Random Colors