Random Color Generator

#d5cd1a Color

Color Codes
Hex Code #d5cd1a
RGB Code rgb(213, 205, 26)
HSL Code hsl(57, 78%, 47%)

#d5cd1a Color Syntax

rgb()

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

 main {
    background-color: rgb(213, 205, 26);
   }

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(57, 78%, 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 #d5cd1a

RGB Code Hex Code Preview
rgb(213, 205, 26, 10%) #d5cd1a1a  
rgb(213, 205, 26, 20%) #d5cd1a33  
rgb(213, 205, 26, 40%) #d5cd1a4C  
rgb(213, 205, 26, 60%) #d5cd1a99  
rgb(213, 205, 26, 80%) #d5cd1aCC  
rgb(213, 205, 26, 100%) #d5cd1aFF  

Saturated and desaturated colors of #d5cd1a

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

#d5cd1a Color Usage In CSS

 body {
    color: #d5cd1a;
    }
 p {
    color: rgb(213, 205, 26);
    }
 header {
    border-bottom:1px solid #d5cd1a;
    }
Recent Random Colors