Random Color Generator

#5b6c38 Color

Color Codes
Hex Code #5b6c38
RGB Code rgb(91, 108, 56)
HSL Code hsl(80, 32%, 32%)

#5b6c38 Color Syntax

rgb()

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

 main {
    background-color: rgb(91, 108, 56);
   }

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(80, 32%, 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 #5b6c38

RGB Code Hex Code Preview
rgb(91, 108, 56, 10%) #5b6c381a  
rgb(91, 108, 56, 20%) #5b6c3833  
rgb(91, 108, 56, 40%) #5b6c384C  
rgb(91, 108, 56, 60%) #5b6c3899  
rgb(91, 108, 56, 80%) #5b6c38CC  
rgb(91, 108, 56, 100%) #5b6c38FF  

Saturated and desaturated colors of #5b6c38

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

#5b6c38 Color Usage In CSS

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