Random Color Generator

#5e0fb5 Color

Color Codes
Hex Code #5e0fb5
RGB Code rgb(94, 15, 181)
HSL Code hsl(269, 85%, 38%)

#5e0fb5 Color Syntax

rgb()

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

 main {
    background-color: rgb(94, 15, 181);
   }

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(269, 85%, 38%);
  }

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 #5e0fb5

RGB Code Hex Code Preview
rgb(94, 15, 181, 10%) #5e0fb51a  
rgb(94, 15, 181, 20%) #5e0fb533  
rgb(94, 15, 181, 40%) #5e0fb54C  
rgb(94, 15, 181, 60%) #5e0fb599  
rgb(94, 15, 181, 80%) #5e0fb5CC  
rgb(94, 15, 181, 100%) #5e0fb5FF  

Saturated and desaturated colors of #5e0fb5

HSL Code Preview
hsl(269, 10%, 38%)  
hsl(269, 20%, 38%)  
hsl(269, 40%, 38%)  
hsl(269, 60%, 38%)  
hsl(269, 80%, 38%)  
hsl(269, 100%, 38%)  

#5e0fb5 Color Usage In CSS

 body {
    color: #5e0fb5;
    }
 p {
    color: rgb(94, 15, 181);
    }
 header {
    border-bottom:1px solid #5e0fb5;
    }
Recent Random Colors