Random Color Generator

#dab82d Color

Color Codes
Hex Code #dab82d
RGB Code rgb(218, 184, 45)
HSL Code hsl(48, 70%, 52%)

#dab82d Color Syntax

rgb()

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

 main {
    background-color: rgb(218, 184, 45);
   }

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(48, 70%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(218, 184, 45, 10%) #dab82d1a  
rgb(218, 184, 45, 20%) #dab82d33  
rgb(218, 184, 45, 40%) #dab82d4C  
rgb(218, 184, 45, 60%) #dab82d99  
rgb(218, 184, 45, 80%) #dab82dCC  
rgb(218, 184, 45, 100%) #dab82dFF  

Saturated and desaturated colors of #dab82d

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

#dab82d Color Usage In CSS

 body {
    color: #dab82d;
    }
 p {
    color: rgb(218, 184, 45);
    }
 header {
    border-bottom:1px solid #dab82d;
    }
Recent Random Colors