Random Color Generator

#9c0995 Color

Color Codes
Hex Code #9c0995
RGB Code rgb(156, 09, 149)
HSL Code hsl(303, 89%, 32%)

#9c0995 Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 09, 149);
   }

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(303, 89%, 32%);
  }

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

RGB Code Hex Code Preview
rgb(156, 09, 149, 10%) #9c09951a  
rgb(156, 09, 149, 20%) #9c099533  
rgb(156, 09, 149, 40%) #9c09954C  
rgb(156, 09, 149, 60%) #9c099599  
rgb(156, 09, 149, 80%) #9c0995CC  
rgb(156, 09, 149, 100%) #9c0995FF  

Saturated and desaturated colors of #9c0995

HSL Code Preview
hsl(303, 10%, 32%)  
hsl(303, 20%, 32%)  
hsl(303, 40%, 32%)  
hsl(303, 60%, 32%)  
hsl(303, 80%, 32%)  
hsl(303, 100%, 32%)  

#9c0995 Color Usage In CSS

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