Random Color Generator

#6528ce Color

Color Codes
Hex Code #6528ce
RGB Code rgb(101, 40, 206)
HSL Code hsl(262, 67%, 48%)

#6528ce Color Syntax

rgb()

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

 main {
    background-color: rgb(101, 40, 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(262, 67%, 48%);
  }

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

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

Saturated and desaturated colors of #6528ce

HSL Code Preview
hsl(262, 10%, 48%)  
hsl(262, 20%, 48%)  
hsl(262, 40%, 48%)  
hsl(262, 60%, 48%)  
hsl(262, 80%, 48%)  
hsl(262, 100%, 48%)  

#6528ce Color Usage In CSS

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