Random Color Generator

#557e57 Color

Color Codes
Hex Code #557e57
RGB Code rgb(85, 126, 87)
HSL Code hsl(123, 19%, 41%)

#557e57 Color Syntax

rgb()

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

 main {
    background-color: rgb(85, 126, 87);
   }

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(123, 19%, 41%);
  }

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 #557e57

RGB Code Hex Code Preview
rgb(85, 126, 87, 10%) #557e571a  
rgb(85, 126, 87, 20%) #557e5733  
rgb(85, 126, 87, 40%) #557e574C  
rgb(85, 126, 87, 60%) #557e5799  
rgb(85, 126, 87, 80%) #557e57CC  
rgb(85, 126, 87, 100%) #557e57FF  

Saturated and desaturated colors of #557e57

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

#557e57 Color Usage In CSS

 body {
    color: #557e57;
    }
 p {
    color: rgb(85, 126, 87);
    }
 header {
    border-bottom:1px solid #557e57;
    }
Recent Random Colors