Random Color Generator

#9f0d2c Color

Color Codes
Hex Code #9f0d2c
RGB Code rgb(159, 13, 44)
HSL Code hsl(347, 85%, 34%)

#9f0d2c Color Syntax

rgb()

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

 main {
    background-color: rgb(159, 13, 44);
   }

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(347, 85%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(159, 13, 44, 10%) #9f0d2c1a  
rgb(159, 13, 44, 20%) #9f0d2c33  
rgb(159, 13, 44, 40%) #9f0d2c4C  
rgb(159, 13, 44, 60%) #9f0d2c99  
rgb(159, 13, 44, 80%) #9f0d2cCC  
rgb(159, 13, 44, 100%) #9f0d2cFF  

Saturated and desaturated colors of #9f0d2c

HSL Code Preview
hsl(347, 10%, 34%)  
hsl(347, 20%, 34%)  
hsl(347, 40%, 34%)  
hsl(347, 60%, 34%)  
hsl(347, 80%, 34%)  
hsl(347, 100%, 34%)  

#9f0d2c Color Usage In CSS

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