Random Color Generator

#d4a6a2 Color

Color Codes
Hex Code #d4a6a2
RGB Code rgb(212, 166, 162)
HSL Code hsl(5, 37%, 73%)

#d4a6a2 Color Syntax

rgb()

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

 main {
    background-color: rgb(212, 166, 162);
   }

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(5, 37%, 73%);
  }

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

RGB Code Hex Code Preview
rgb(212, 166, 162, 10%) #d4a6a21a  
rgb(212, 166, 162, 20%) #d4a6a233  
rgb(212, 166, 162, 40%) #d4a6a24C  
rgb(212, 166, 162, 60%) #d4a6a299  
rgb(212, 166, 162, 80%) #d4a6a2CC  
rgb(212, 166, 162, 100%) #d4a6a2FF  

Saturated and desaturated colors of #d4a6a2

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

#d4a6a2 Color Usage In CSS

 body {
    color: #d4a6a2;
    }
 p {
    color: rgb(212, 166, 162);
    }
 header {
    border-bottom:1px solid #d4a6a2;
    }
Recent Random Colors