Random Color Generator

#813fe5 Color

Color Codes
Hex Code #813fe5
RGB Code rgb(129, 63, 229)
HSL Code hsl(264, 76%, 57%)

#813fe5 Color Syntax

rgb()

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

 main {
    background-color: rgb(129, 63, 229);
   }

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(264, 76%, 57%);
  }

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 #813fe5

RGB Code Hex Code Preview
rgb(129, 63, 229, 10%) #813fe51a  
rgb(129, 63, 229, 20%) #813fe533  
rgb(129, 63, 229, 40%) #813fe54C  
rgb(129, 63, 229, 60%) #813fe599  
rgb(129, 63, 229, 80%) #813fe5CC  
rgb(129, 63, 229, 100%) #813fe5FF  

Saturated and desaturated colors of #813fe5

HSL Code Preview
hsl(264, 10%, 57%)  
hsl(264, 20%, 57%)  
hsl(264, 40%, 57%)  
hsl(264, 60%, 57%)  
hsl(264, 80%, 57%)  
hsl(264, 100%, 57%)  

#813fe5 Color Usage In CSS

 body {
    color: #813fe5;
    }
 p {
    color: rgb(129, 63, 229);
    }
 header {
    border-bottom:1px solid #813fe5;
    }
Recent Random Colors