Random Color Generator

#7e6c08 Color

Color Codes
Hex Code #7e6c08
RGB Code rgb(126, 108, 08)
HSL Code hsl(51, 88%, 26%)

#7e6c08 Color Syntax

rgb()

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

 main {
    background-color: rgb(126, 108, 08);
   }

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, 88%, 26%);
  }

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

RGB Code Hex Code Preview
rgb(126, 108, 08, 10%) #7e6c081a  
rgb(126, 108, 08, 20%) #7e6c0833  
rgb(126, 108, 08, 40%) #7e6c084C  
rgb(126, 108, 08, 60%) #7e6c0899  
rgb(126, 108, 08, 80%) #7e6c08CC  
rgb(126, 108, 08, 100%) #7e6c08FF  

Saturated and desaturated colors of #7e6c08

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

#7e6c08 Color Usage In CSS

 body {
    color: #7e6c08;
    }
 p {
    color: rgb(126, 108, 08);
    }
 header {
    border-bottom:1px solid #7e6c08;
    }
Recent Random Colors