Random Color Generator

#9e039f Color

Color Codes
Hex Code #9e039f
RGB Code rgb(158, 03, 159)
HSL Code hsl(300, 96%, 32%)

#9e039f Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 03, 159);
   }

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(300, 96%, 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 #9e039f

RGB Code Hex Code Preview
rgb(158, 03, 159, 10%) #9e039f1a  
rgb(158, 03, 159, 20%) #9e039f33  
rgb(158, 03, 159, 40%) #9e039f4C  
rgb(158, 03, 159, 60%) #9e039f99  
rgb(158, 03, 159, 80%) #9e039fCC  
rgb(158, 03, 159, 100%) #9e039fFF  

Saturated and desaturated colors of #9e039f

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

#9e039f Color Usage In CSS

 body {
    color: #9e039f;
    }
 p {
    color: rgb(158, 03, 159);
    }
 header {
    border-bottom:1px solid #9e039f;
    }
Recent Random Colors