Random Color Generator

#5b4342 Color

Color Codes
Hex Code #5b4342
RGB Code rgb(91, 67, 66)
HSL Code hsl(2, 16%, 31%)

#5b4342 Color Syntax

rgb()

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

 main {
    background-color: rgb(91, 67, 66);
   }

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(2, 16%, 31%);
  }

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

RGB Code Hex Code Preview
rgb(91, 67, 66, 10%) #5b43421a  
rgb(91, 67, 66, 20%) #5b434233  
rgb(91, 67, 66, 40%) #5b43424C  
rgb(91, 67, 66, 60%) #5b434299  
rgb(91, 67, 66, 80%) #5b4342CC  
rgb(91, 67, 66, 100%) #5b4342FF  

Saturated and desaturated colors of #5b4342

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

#5b4342 Color Usage In CSS

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