Random Color Generator

#6b49c5 Color

Color Codes
Hex Code #6b49c5
RGB Code rgb(107, 73, 197)
HSL Code hsl(256, 52%, 53%)

#6b49c5 Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 73, 197);
   }

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(256, 52%, 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 #6b49c5

RGB Code Hex Code Preview
rgb(107, 73, 197, 10%) #6b49c51a  
rgb(107, 73, 197, 20%) #6b49c533  
rgb(107, 73, 197, 40%) #6b49c54C  
rgb(107, 73, 197, 60%) #6b49c599  
rgb(107, 73, 197, 80%) #6b49c5CC  
rgb(107, 73, 197, 100%) #6b49c5FF  

Saturated and desaturated colors of #6b49c5

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

#6b49c5 Color Usage In CSS

 body {
    color: #6b49c5;
    }
 p {
    color: rgb(107, 73, 197);
    }
 header {
    border-bottom:1px solid #6b49c5;
    }
Recent Random Colors