Random Color Generator

#651df1 Color

Color Codes
Hex Code #651df1
RGB Code rgb(101, 29, 241)
HSL Code hsl(260, 88%, 53%)

#651df1 Color Syntax

rgb()

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

 main {
    background-color: rgb(101, 29, 241);
   }

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(260, 88%, 53%);
  }

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 #651df1

RGB Code Hex Code Preview
rgb(101, 29, 241, 10%) #651df11a  
rgb(101, 29, 241, 20%) #651df133  
rgb(101, 29, 241, 40%) #651df14C  
rgb(101, 29, 241, 60%) #651df199  
rgb(101, 29, 241, 80%) #651df1CC  
rgb(101, 29, 241, 100%) #651df1FF  

Saturated and desaturated colors of #651df1

HSL Code Preview
hsl(260, 10%, 53%)  
hsl(260, 20%, 53%)  
hsl(260, 40%, 53%)  
hsl(260, 60%, 53%)  
hsl(260, 80%, 53%)  
hsl(260, 100%, 53%)  

#651df1 Color Usage In CSS

 body {
    color: #651df1;
    }
 p {
    color: rgb(101, 29, 241);
    }
 header {
    border-bottom:1px solid #651df1;
    }
Recent Random Colors