Random Color Generator

#9f53de Color

Color Codes
Hex Code #9f53de
RGB Code rgb(159, 83, 222)
HSL Code hsl(273, 68%, 60%)

#9f53de Color Syntax

rgb()

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

 main {
    background-color: rgb(159, 83, 222);
   }

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(273, 68%, 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 #9f53de

RGB Code Hex Code Preview
rgb(159, 83, 222, 10%) #9f53de1a  
rgb(159, 83, 222, 20%) #9f53de33  
rgb(159, 83, 222, 40%) #9f53de4C  
rgb(159, 83, 222, 60%) #9f53de99  
rgb(159, 83, 222, 80%) #9f53deCC  
rgb(159, 83, 222, 100%) #9f53deFF  

Saturated and desaturated colors of #9f53de

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

#9f53de Color Usage In CSS

 body {
    color: #9f53de;
    }
 p {
    color: rgb(159, 83, 222);
    }
 header {
    border-bottom:1px solid #9f53de;
    }
Recent Random Colors