Random Color Generator

#d5a22c Color

Color Codes
Hex Code #d5a22c
RGB Code rgb(213, 162, 44)
HSL Code hsl(42, 67%, 50%)

#d5a22c Color Syntax

rgb()

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

 main {
    background-color: rgb(213, 162, 44);
   }

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(42, 67%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(213, 162, 44, 10%) #d5a22c1a  
rgb(213, 162, 44, 20%) #d5a22c33  
rgb(213, 162, 44, 40%) #d5a22c4C  
rgb(213, 162, 44, 60%) #d5a22c99  
rgb(213, 162, 44, 80%) #d5a22cCC  
rgb(213, 162, 44, 100%) #d5a22cFF  

Saturated and desaturated colors of #d5a22c

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

#d5a22c Color Usage In CSS

 body {
    color: #d5a22c;
    }
 p {
    color: rgb(213, 162, 44);
    }
 header {
    border-bottom:1px solid #d5a22c;
    }
Recent Random Colors