Random Color Generator

#d2b341 Color

Color Codes
Hex Code #d2b341
RGB Code rgb(210, 179, 65)
HSL Code hsl(47, 62%, 54%)

#d2b341 Color Syntax

rgb()

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

 main {
    background-color: rgb(210, 179, 65);
   }

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(47, 62%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(210, 179, 65, 10%) #d2b3411a  
rgb(210, 179, 65, 20%) #d2b34133  
rgb(210, 179, 65, 40%) #d2b3414C  
rgb(210, 179, 65, 60%) #d2b34199  
rgb(210, 179, 65, 80%) #d2b341CC  
rgb(210, 179, 65, 100%) #d2b341FF  

Saturated and desaturated colors of #d2b341

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

#d2b341 Color Usage In CSS

 body {
    color: #d2b341;
    }
 p {
    color: rgb(210, 179, 65);
    }
 header {
    border-bottom:1px solid #d2b341;
    }
Recent Random Colors