Random Color Generator

#5b2d1e Color

Color Codes
Hex Code #5b2d1e
RGB Code rgb(91, 45, 30)
HSL Code hsl(15, 50%, 24%)

#5b2d1e Color Syntax

rgb()

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

 main {
    background-color: rgb(91, 45, 30);
   }

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(15, 50%, 24%);
  }

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

RGB Code Hex Code Preview
rgb(91, 45, 30, 10%) #5b2d1e1a  
rgb(91, 45, 30, 20%) #5b2d1e33  
rgb(91, 45, 30, 40%) #5b2d1e4C  
rgb(91, 45, 30, 60%) #5b2d1e99  
rgb(91, 45, 30, 80%) #5b2d1eCC  
rgb(91, 45, 30, 100%) #5b2d1eFF  

Saturated and desaturated colors of #5b2d1e

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

#5b2d1e Color Usage In CSS

 body {
    color: #5b2d1e;
    }
 p {
    color: rgb(91, 45, 30);
    }
 header {
    border-bottom:1px solid #5b2d1e;
    }
Recent Random Colors