Random Color Generator

#dea940 Color

Color Codes
Hex Code #dea940
RGB Code rgb(222, 169, 64)
HSL Code hsl(40, 71%, 56%)

#dea940 Color Syntax

rgb()

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

 main {
    background-color: rgb(222, 169, 64);
   }

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(40, 71%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(222, 169, 64, 10%) #dea9401a  
rgb(222, 169, 64, 20%) #dea94033  
rgb(222, 169, 64, 40%) #dea9404C  
rgb(222, 169, 64, 60%) #dea94099  
rgb(222, 169, 64, 80%) #dea940CC  
rgb(222, 169, 64, 100%) #dea940FF  

Saturated and desaturated colors of #dea940

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

#dea940 Color Usage In CSS

 body {
    color: #dea940;
    }
 p {
    color: rgb(222, 169, 64);
    }
 header {
    border-bottom:1px solid #dea940;
    }
Recent Random Colors