Random Color Generator

#5a964e Color

Color Codes
Hex Code #5a964e
RGB Code rgb(90, 150, 78)
HSL Code hsl(110, 32%, 45%)

#5a964e Color Syntax

rgb()

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

 main {
    background-color: rgb(90, 150, 78);
   }

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(110, 32%, 45%);
  }

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 #5a964e

RGB Code Hex Code Preview
rgb(90, 150, 78, 10%) #5a964e1a  
rgb(90, 150, 78, 20%) #5a964e33  
rgb(90, 150, 78, 40%) #5a964e4C  
rgb(90, 150, 78, 60%) #5a964e99  
rgb(90, 150, 78, 80%) #5a964eCC  
rgb(90, 150, 78, 100%) #5a964eFF  

Saturated and desaturated colors of #5a964e

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

#5a964e Color Usage In CSS

 body {
    color: #5a964e;
    }
 p {
    color: rgb(90, 150, 78);
    }
 header {
    border-bottom:1px solid #5a964e;
    }
Recent Random Colors