Random Color Generator

#9f473b Color

Color Codes
Hex Code #9f473b
RGB Code rgb(159, 71, 59)
HSL Code hsl(7, 46%, 43%)

#9f473b Color Syntax

rgb()

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

 main {
    background-color: rgb(159, 71, 59);
   }

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(7, 46%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(159, 71, 59, 10%) #9f473b1a  
rgb(159, 71, 59, 20%) #9f473b33  
rgb(159, 71, 59, 40%) #9f473b4C  
rgb(159, 71, 59, 60%) #9f473b99  
rgb(159, 71, 59, 80%) #9f473bCC  
rgb(159, 71, 59, 100%) #9f473bFF  

Saturated and desaturated colors of #9f473b

HSL Code Preview
hsl(7, 10%, 43%)  
hsl(7, 20%, 43%)  
hsl(7, 40%, 43%)  
hsl(7, 60%, 43%)  
hsl(7, 80%, 43%)  
hsl(7, 100%, 43%)  

#9f473b Color Usage In CSS

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