Random Color Generator

#9e041b Color

Color Codes
Hex Code #9e041b
RGB Code rgb(158, 04, 27)
HSL Code hsl(351, 95%, 32%)

#9e041b Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 04, 27);
   }

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(351, 95%, 32%);
  }

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

RGB Code Hex Code Preview
rgb(158, 04, 27, 10%) #9e041b1a  
rgb(158, 04, 27, 20%) #9e041b33  
rgb(158, 04, 27, 40%) #9e041b4C  
rgb(158, 04, 27, 60%) #9e041b99  
rgb(158, 04, 27, 80%) #9e041bCC  
rgb(158, 04, 27, 100%) #9e041bFF  

Saturated and desaturated colors of #9e041b

HSL Code Preview
hsl(351, 10%, 32%)  
hsl(351, 20%, 32%)  
hsl(351, 40%, 32%)  
hsl(351, 60%, 32%)  
hsl(351, 80%, 32%)  
hsl(351, 100%, 32%)  

#9e041b Color Usage In CSS

 body {
    color: #9e041b;
    }
 p {
    color: rgb(158, 04, 27);
    }
 header {
    border-bottom:1px solid #9e041b;
    }
Recent Random Colors