Random Color Generator

#9e76fe Color

Color Codes
Hex Code #9e76fe
RGB Code rgb(158, 118, 254)
HSL Code hsl(258, 99%, 73%)

#9e76fe Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 118, 254);
   }

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(258, 99%, 73%);
  }

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 #9e76fe

RGB Code Hex Code Preview
rgb(158, 118, 254, 10%) #9e76fe1a  
rgb(158, 118, 254, 20%) #9e76fe33  
rgb(158, 118, 254, 40%) #9e76fe4C  
rgb(158, 118, 254, 60%) #9e76fe99  
rgb(158, 118, 254, 80%) #9e76feCC  
rgb(158, 118, 254, 100%) #9e76feFF  

Saturated and desaturated colors of #9e76fe

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

#9e76fe Color Usage In CSS

 body {
    color: #9e76fe;
    }
 p {
    color: rgb(158, 118, 254);
    }
 header {
    border-bottom:1px solid #9e76fe;
    }
Recent Random Colors