Random Color Generator

#9ba0c7 Color

Color Codes
Hex Code #9ba0c7
RGB Code rgb(155, 160, 199)
HSL Code hsl(233, 28%, 69%)

#9ba0c7 Color Syntax

rgb()

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

 main {
    background-color: rgb(155, 160, 199);
   }

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(233, 28%, 69%);
  }

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

RGB Code Hex Code Preview
rgb(155, 160, 199, 10%) #9ba0c71a  
rgb(155, 160, 199, 20%) #9ba0c733  
rgb(155, 160, 199, 40%) #9ba0c74C  
rgb(155, 160, 199, 60%) #9ba0c799  
rgb(155, 160, 199, 80%) #9ba0c7CC  
rgb(155, 160, 199, 100%) #9ba0c7FF  

Saturated and desaturated colors of #9ba0c7

HSL Code Preview
hsl(233, 10%, 69%)  
hsl(233, 20%, 69%)  
hsl(233, 40%, 69%)  
hsl(233, 60%, 69%)  
hsl(233, 80%, 69%)  
hsl(233, 100%, 69%)  

#9ba0c7 Color Usage In CSS

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