Random Color Generator

#dac12c Color

Color Codes
Hex Code #dac12c
RGB Code rgb(218, 193, 44)
HSL Code hsl(51, 70%, 51%)

#dac12c Color Syntax

rgb()

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

 main {
    background-color: rgb(218, 193, 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(51, 70%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(218, 193, 44, 10%) #dac12c1a  
rgb(218, 193, 44, 20%) #dac12c33  
rgb(218, 193, 44, 40%) #dac12c4C  
rgb(218, 193, 44, 60%) #dac12c99  
rgb(218, 193, 44, 80%) #dac12cCC  
rgb(218, 193, 44, 100%) #dac12cFF  

Saturated and desaturated colors of #dac12c

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

#dac12c Color Usage In CSS

 body {
    color: #dac12c;
    }
 p {
    color: rgb(218, 193, 44);
    }
 header {
    border-bottom:1px solid #dac12c;
    }
Recent Random Colors