Random Color Generator

#9ca8cb Color

Color Codes
Hex Code #9ca8cb
RGB Code rgb(156, 168, 203)
HSL Code hsl(225, 31%, 70%)

#9ca8cb Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 168, 203);
   }

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(225, 31%, 70%);
  }

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

RGB Code Hex Code Preview
rgb(156, 168, 203, 10%) #9ca8cb1a  
rgb(156, 168, 203, 20%) #9ca8cb33  
rgb(156, 168, 203, 40%) #9ca8cb4C  
rgb(156, 168, 203, 60%) #9ca8cb99  
rgb(156, 168, 203, 80%) #9ca8cbCC  
rgb(156, 168, 203, 100%) #9ca8cbFF  

Saturated and desaturated colors of #9ca8cb

HSL Code Preview
hsl(225, 10%, 70%)  
hsl(225, 20%, 70%)  
hsl(225, 40%, 70%)  
hsl(225, 60%, 70%)  
hsl(225, 80%, 70%)  
hsl(225, 100%, 70%)  

#9ca8cb Color Usage In CSS

 body {
    color: #9ca8cb;
    }
 p {
    color: rgb(156, 168, 203);
    }
 header {
    border-bottom:1px solid #9ca8cb;
    }
Recent Random Colors