Random Color Generator

#9d0140 Color

Color Codes
Hex Code #9d0140
RGB Code rgb(157, 01, 64)
HSL Code hsl(336, 99%, 31%)

#9d0140 Color Syntax

rgb()

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

 main {
    background-color: rgb(157, 01, 64);
   }

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, 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 #9d0140

RGB Code Hex Code Preview
rgb(157, 01, 64, 10%) #9d01401a  
rgb(157, 01, 64, 20%) #9d014033  
rgb(157, 01, 64, 40%) #9d01404C  
rgb(157, 01, 64, 60%) #9d014099  
rgb(157, 01, 64, 80%) #9d0140CC  
rgb(157, 01, 64, 100%) #9d0140FF  

Saturated and desaturated colors of #9d0140

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

#9d0140 Color Usage In CSS

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