Random Color Generator

#7e3c6e Color

Color Codes
Hex Code #7e3c6e
RGB Code rgb(126, 60, 110)
HSL Code hsl(315, 35%, 36%)

#7e3c6e Color Syntax

rgb()

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

 main {
    background-color: rgb(126, 60, 110);
   }

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(315, 35%, 36%);
  }

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 #7e3c6e

RGB Code Hex Code Preview
rgb(126, 60, 110, 10%) #7e3c6e1a  
rgb(126, 60, 110, 20%) #7e3c6e33  
rgb(126, 60, 110, 40%) #7e3c6e4C  
rgb(126, 60, 110, 60%) #7e3c6e99  
rgb(126, 60, 110, 80%) #7e3c6eCC  
rgb(126, 60, 110, 100%) #7e3c6eFF  

Saturated and desaturated colors of #7e3c6e

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

#7e3c6e Color Usage In CSS

 body {
    color: #7e3c6e;
    }
 p {
    color: rgb(126, 60, 110);
    }
 header {
    border-bottom:1px solid #7e3c6e;
    }
Recent Random Colors