Random Color Generator

#5a6659 Color

Color Codes
Hex Code #5a6659
RGB Code rgb(90, 102, 89)
HSL Code hsl(115, 7%, 37%)

#5a6659 Color Syntax

rgb()

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

 main {
    background-color: rgb(90, 102, 89);
   }

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(115, 7%, 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 #5a6659

RGB Code Hex Code Preview
rgb(90, 102, 89, 10%) #5a66591a  
rgb(90, 102, 89, 20%) #5a665933  
rgb(90, 102, 89, 40%) #5a66594C  
rgb(90, 102, 89, 60%) #5a665999  
rgb(90, 102, 89, 80%) #5a6659CC  
rgb(90, 102, 89, 100%) #5a6659FF  

Saturated and desaturated colors of #5a6659

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

#5a6659 Color Usage In CSS

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