Random Color Generator

#873e9b Color

Color Codes
Hex Code #873e9b
RGB Code rgb(135, 62, 155)
HSL Code hsl(287, 43%, 43%)

#873e9b Color Syntax

rgb()

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

 main {
    background-color: rgb(135, 62, 155);
   }

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(287, 43%, 43%);
  }

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 #873e9b

RGB Code Hex Code Preview
rgb(135, 62, 155, 10%) #873e9b1a  
rgb(135, 62, 155, 20%) #873e9b33  
rgb(135, 62, 155, 40%) #873e9b4C  
rgb(135, 62, 155, 60%) #873e9b99  
rgb(135, 62, 155, 80%) #873e9bCC  
rgb(135, 62, 155, 100%) #873e9bFF  

Saturated and desaturated colors of #873e9b

HSL Code Preview
hsl(287, 10%, 43%)  
hsl(287, 20%, 43%)  
hsl(287, 40%, 43%)  
hsl(287, 60%, 43%)  
hsl(287, 80%, 43%)  
hsl(287, 100%, 43%)  

#873e9b Color Usage In CSS

 body {
    color: #873e9b;
    }
 p {
    color: rgb(135, 62, 155);
    }
 header {
    border-bottom:1px solid #873e9b;
    }
Recent Random Colors