Random Color Generator

#9c018b Color

Color Codes
Hex Code #9c018b
RGB Code rgb(156, 01, 139)
HSL Code hsl(307, 99%, 31%)

#9c018b Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 01, 139);
   }

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(307, 99%, 31%);
  }

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

RGB Code Hex Code Preview
rgb(156, 01, 139, 10%) #9c018b1a  
rgb(156, 01, 139, 20%) #9c018b33  
rgb(156, 01, 139, 40%) #9c018b4C  
rgb(156, 01, 139, 60%) #9c018b99  
rgb(156, 01, 139, 80%) #9c018bCC  
rgb(156, 01, 139, 100%) #9c018bFF  

Saturated and desaturated colors of #9c018b

HSL Code Preview
hsl(307, 10%, 31%)  
hsl(307, 20%, 31%)  
hsl(307, 40%, 31%)  
hsl(307, 60%, 31%)  
hsl(307, 80%, 31%)  
hsl(307, 100%, 31%)  

#9c018b Color Usage In CSS

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