Random Color Generator

#5e1c0f Color

Color Codes
Hex Code #5e1c0f
RGB Code rgb(94, 28, 15)
HSL Code hsl(10, 72%, 21%)

#5e1c0f Color Syntax

rgb()

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

 main {
    background-color: rgb(94, 28, 15);
   }

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(10, 72%, 21%);
  }

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 #5e1c0f

RGB Code Hex Code Preview
rgb(94, 28, 15, 10%) #5e1c0f1a  
rgb(94, 28, 15, 20%) #5e1c0f33  
rgb(94, 28, 15, 40%) #5e1c0f4C  
rgb(94, 28, 15, 60%) #5e1c0f99  
rgb(94, 28, 15, 80%) #5e1c0fCC  
rgb(94, 28, 15, 100%) #5e1c0fFF  

Saturated and desaturated colors of #5e1c0f

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

#5e1c0f Color Usage In CSS

 body {
    color: #5e1c0f;
    }
 p {
    color: rgb(94, 28, 15);
    }
 header {
    border-bottom:1px solid #5e1c0f;
    }
Recent Random Colors