Random Color Generator

#9c86a3 Color

Color Codes
Hex Code #9c86a3
RGB Code rgb(156, 134, 163)
HSL Code hsl(286, 14%, 58%)

#9c86a3 Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 134, 163);
   }

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(286, 14%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(156, 134, 163, 10%) #9c86a31a  
rgb(156, 134, 163, 20%) #9c86a333  
rgb(156, 134, 163, 40%) #9c86a34C  
rgb(156, 134, 163, 60%) #9c86a399  
rgb(156, 134, 163, 80%) #9c86a3CC  
rgb(156, 134, 163, 100%) #9c86a3FF  

Saturated and desaturated colors of #9c86a3

HSL Code Preview
hsl(286, 10%, 58%)  
hsl(286, 20%, 58%)  
hsl(286, 40%, 58%)  
hsl(286, 60%, 58%)  
hsl(286, 80%, 58%)  
hsl(286, 100%, 58%)  

#9c86a3 Color Usage In CSS

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