Random Color Generator

#986508 Color

Color Codes
Hex Code #986508
RGB Code rgb(152, 101, 08)
HSL Code hsl(39, 90%, 31%)

#986508 Color Syntax

rgb()

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

 main {
    background-color: rgb(152, 101, 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(39, 90%, 31%);
  }

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

RGB Code Hex Code Preview
rgb(152, 101, 08, 10%) #9865081a  
rgb(152, 101, 08, 20%) #98650833  
rgb(152, 101, 08, 40%) #9865084C  
rgb(152, 101, 08, 60%) #98650899  
rgb(152, 101, 08, 80%) #986508CC  
rgb(152, 101, 08, 100%) #986508FF  

Saturated and desaturated colors of #986508

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

#986508 Color Usage In CSS

 body {
    color: #986508;
    }
 p {
    color: rgb(152, 101, 08);
    }
 header {
    border-bottom:1px solid #986508;
    }
Recent Random Colors