Random Color Generator

#9baabf Color

Color Codes
Hex Code #9baabf
RGB Code rgb(155, 170, 191)
HSL Code hsl(215, 22%, 68%)

#9baabf Color Syntax

rgb()

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

 main {
    background-color: rgb(155, 170, 191);
   }

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(215, 22%, 68%);
  }

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 #9baabf

RGB Code Hex Code Preview
rgb(155, 170, 191, 10%) #9baabf1a  
rgb(155, 170, 191, 20%) #9baabf33  
rgb(155, 170, 191, 40%) #9baabf4C  
rgb(155, 170, 191, 60%) #9baabf99  
rgb(155, 170, 191, 80%) #9baabfCC  
rgb(155, 170, 191, 100%) #9baabfFF  

Saturated and desaturated colors of #9baabf

HSL Code Preview
hsl(215, 10%, 68%)  
hsl(215, 20%, 68%)  
hsl(215, 40%, 68%)  
hsl(215, 60%, 68%)  
hsl(215, 80%, 68%)  
hsl(215, 100%, 68%)  

#9baabf Color Usage In CSS

 body {
    color: #9baabf;
    }
 p {
    color: rgb(155, 170, 191);
    }
 header {
    border-bottom:1px solid #9baabf;
    }
Recent Random Colors