Random Color Generator

#6543ef Color

Color Codes
Hex Code #6543ef
RGB Code rgb(101, 67, 239)
HSL Code hsl(252, 84%, 60%)

#6543ef Color Syntax

rgb()

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

 main {
    background-color: rgb(101, 67, 239);
   }

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(252, 84%, 60%);
  }

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 #6543ef

RGB Code Hex Code Preview
rgb(101, 67, 239, 10%) #6543ef1a  
rgb(101, 67, 239, 20%) #6543ef33  
rgb(101, 67, 239, 40%) #6543ef4C  
rgb(101, 67, 239, 60%) #6543ef99  
rgb(101, 67, 239, 80%) #6543efCC  
rgb(101, 67, 239, 100%) #6543efFF  

Saturated and desaturated colors of #6543ef

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

#6543ef Color Usage In CSS

 body {
    color: #6543ef;
    }
 p {
    color: rgb(101, 67, 239);
    }
 header {
    border-bottom:1px solid #6543ef;
    }
Recent Random Colors