Random Color Generator

#6506eb Color

Color Codes
Hex Code #6506eb
RGB Code rgb(101, 06, 235)
HSL Code hsl(265, 95%, 47%)

#6506eb Color Syntax

rgb()

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

 main {
    background-color: rgb(101, 06, 235);
   }

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(265, 95%, 47%);
  }

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 #6506eb

RGB Code Hex Code Preview
rgb(101, 06, 235, 10%) #6506eb1a  
rgb(101, 06, 235, 20%) #6506eb33  
rgb(101, 06, 235, 40%) #6506eb4C  
rgb(101, 06, 235, 60%) #6506eb99  
rgb(101, 06, 235, 80%) #6506ebCC  
rgb(101, 06, 235, 100%) #6506ebFF  

Saturated and desaturated colors of #6506eb

HSL Code Preview
hsl(265, 10%, 47%)  
hsl(265, 20%, 47%)  
hsl(265, 40%, 47%)  
hsl(265, 60%, 47%)  
hsl(265, 80%, 47%)  
hsl(265, 100%, 47%)  

#6506eb Color Usage In CSS

 body {
    color: #6506eb;
    }
 p {
    color: rgb(101, 06, 235);
    }
 header {
    border-bottom:1px solid #6506eb;
    }
Recent Random Colors