Random Color Generator

#9f4a0b Color

Color Codes
Hex Code #9f4a0b
RGB Code rgb(159, 74, 11)
HSL Code hsl(26, 87%, 33%)

#9f4a0b Color Syntax

rgb()

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

 main {
    background-color: rgb(159, 74, 11);
   }

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(26, 87%, 33%);
  }

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 #9f4a0b

RGB Code Hex Code Preview
rgb(159, 74, 11, 10%) #9f4a0b1a  
rgb(159, 74, 11, 20%) #9f4a0b33  
rgb(159, 74, 11, 40%) #9f4a0b4C  
rgb(159, 74, 11, 60%) #9f4a0b99  
rgb(159, 74, 11, 80%) #9f4a0bCC  
rgb(159, 74, 11, 100%) #9f4a0bFF  

Saturated and desaturated colors of #9f4a0b

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

#9f4a0b Color Usage In CSS

 body {
    color: #9f4a0b;
    }
 p {
    color: rgb(159, 74, 11);
    }
 header {
    border-bottom:1px solid #9f4a0b;
    }
Recent Random Colors