Random Color Generator

#9c365e Color

Color Codes
Hex Code #9c365e
RGB Code rgb(156, 54, 94)
HSL Code hsl(336, 49%, 41%)

#9c365e Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 54, 94);
   }

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(336, 49%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(156, 54, 94, 10%) #9c365e1a  
rgb(156, 54, 94, 20%) #9c365e33  
rgb(156, 54, 94, 40%) #9c365e4C  
rgb(156, 54, 94, 60%) #9c365e99  
rgb(156, 54, 94, 80%) #9c365eCC  
rgb(156, 54, 94, 100%) #9c365eFF  

Saturated and desaturated colors of #9c365e

HSL Code Preview
hsl(336, 10%, 41%)  
hsl(336, 20%, 41%)  
hsl(336, 40%, 41%)  
hsl(336, 60%, 41%)  
hsl(336, 80%, 41%)  
hsl(336, 100%, 41%)  

#9c365e Color Usage In CSS

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