Random Color Generator

#5810ce Color

Color Codes
Hex Code #5810ce
RGB Code rgb(88, 16, 206)
HSL Code hsl(263, 86%, 44%)

#5810ce Color Syntax

rgb()

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

 main {
    background-color: rgb(88, 16, 206);
   }

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(263, 86%, 44%);
  }

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 #5810ce

RGB Code Hex Code Preview
rgb(88, 16, 206, 10%) #5810ce1a  
rgb(88, 16, 206, 20%) #5810ce33  
rgb(88, 16, 206, 40%) #5810ce4C  
rgb(88, 16, 206, 60%) #5810ce99  
rgb(88, 16, 206, 80%) #5810ceCC  
rgb(88, 16, 206, 100%) #5810ceFF  

Saturated and desaturated colors of #5810ce

HSL Code Preview
hsl(263, 10%, 44%)  
hsl(263, 20%, 44%)  
hsl(263, 40%, 44%)  
hsl(263, 60%, 44%)  
hsl(263, 80%, 44%)  
hsl(263, 100%, 44%)  

#5810ce Color Usage In CSS

 body {
    color: #5810ce;
    }
 p {
    color: rgb(88, 16, 206);
    }
 header {
    border-bottom:1px solid #5810ce;
    }
Recent Random Colors