Random Color Generator

#5a8999 Color

Color Codes
Hex Code #5a8999
RGB Code rgb(90, 137, 153)
HSL Code hsl(195, 26%, 48%)

#5a8999 Color Syntax

rgb()

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

 main {
    background-color: rgb(90, 137, 153);
   }

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(195, 26%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(90, 137, 153, 10%) #5a89991a  
rgb(90, 137, 153, 20%) #5a899933  
rgb(90, 137, 153, 40%) #5a89994C  
rgb(90, 137, 153, 60%) #5a899999  
rgb(90, 137, 153, 80%) #5a8999CC  
rgb(90, 137, 153, 100%) #5a8999FF  

Saturated and desaturated colors of #5a8999

HSL Code Preview
hsl(195, 10%, 48%)  
hsl(195, 20%, 48%)  
hsl(195, 40%, 48%)  
hsl(195, 60%, 48%)  
hsl(195, 80%, 48%)  
hsl(195, 100%, 48%)  

#5a8999 Color Usage In CSS

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