Random Color Generator

#497e5c Color

Color Codes
Hex Code #497e5c
RGB Code rgb(73, 126, 92)
HSL Code hsl(142, 27%, 39%)

#497e5c Color Syntax

rgb()

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

 main {
    background-color: rgb(73, 126, 92);
   }

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(142, 27%, 39%);
  }

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 #497e5c

RGB Code Hex Code Preview
rgb(73, 126, 92, 10%) #497e5c1a  
rgb(73, 126, 92, 20%) #497e5c33  
rgb(73, 126, 92, 40%) #497e5c4C  
rgb(73, 126, 92, 60%) #497e5c99  
rgb(73, 126, 92, 80%) #497e5cCC  
rgb(73, 126, 92, 100%) #497e5cFF  

Saturated and desaturated colors of #497e5c

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

#497e5c Color Usage In CSS

 body {
    color: #497e5c;
    }
 p {
    color: rgb(73, 126, 92);
    }
 header {
    border-bottom:1px solid #497e5c;
    }
Recent Random Colors