Random Color Generator

#556b52 Color

Color Codes
Hex Code #556b52
RGB Code rgb(85, 107, 82)
HSL Code hsl(113, 13%, 37%)

#556b52 Color Syntax

rgb()

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

 main {
    background-color: rgb(85, 107, 82);
   }

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(113, 13%, 37%);
  }

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 #556b52

RGB Code Hex Code Preview
rgb(85, 107, 82, 10%) #556b521a  
rgb(85, 107, 82, 20%) #556b5233  
rgb(85, 107, 82, 40%) #556b524C  
rgb(85, 107, 82, 60%) #556b5299  
rgb(85, 107, 82, 80%) #556b52CC  
rgb(85, 107, 82, 100%) #556b52FF  

Saturated and desaturated colors of #556b52

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

#556b52 Color Usage In CSS

 body {
    color: #556b52;
    }
 p {
    color: rgb(85, 107, 82);
    }
 header {
    border-bottom:1px solid #556b52;
    }
Recent Random Colors