Random Color Generator

#9a8bb0 Color

Color Codes
Hex Code #9a8bb0
RGB Code rgb(154, 139, 176)
HSL Code hsl(264, 19%, 62%)

#9a8bb0 Color Syntax

rgb()

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

 main {
    background-color: rgb(154, 139, 176);
   }

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(264, 19%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(154, 139, 176, 10%) #9a8bb01a  
rgb(154, 139, 176, 20%) #9a8bb033  
rgb(154, 139, 176, 40%) #9a8bb04C  
rgb(154, 139, 176, 60%) #9a8bb099  
rgb(154, 139, 176, 80%) #9a8bb0CC  
rgb(154, 139, 176, 100%) #9a8bb0FF  

Saturated and desaturated colors of #9a8bb0

HSL Code Preview
hsl(264, 10%, 62%)  
hsl(264, 20%, 62%)  
hsl(264, 40%, 62%)  
hsl(264, 60%, 62%)  
hsl(264, 80%, 62%)  
hsl(264, 100%, 62%)  

#9a8bb0 Color Usage In CSS

 body {
    color: #9a8bb0;
    }
 p {
    color: rgb(154, 139, 176);
    }
 header {
    border-bottom:1px solid #9a8bb0;
    }
Recent Random Colors