Random Color Generator

#558952 Color

Color Codes
Hex Code #558952
RGB Code rgb(85, 137, 82)
HSL Code hsl(117, 25%, 43%)

#558952 Color Syntax

rgb()

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

 main {
    background-color: rgb(85, 137, 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(117, 25%, 43%);
  }

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 #558952

RGB Code Hex Code Preview
rgb(85, 137, 82, 10%) #5589521a  
rgb(85, 137, 82, 20%) #55895233  
rgb(85, 137, 82, 40%) #5589524C  
rgb(85, 137, 82, 60%) #55895299  
rgb(85, 137, 82, 80%) #558952CC  
rgb(85, 137, 82, 100%) #558952FF  

Saturated and desaturated colors of #558952

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

#558952 Color Usage In CSS

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