Random Color Generator

#9c52eb Color

Color Codes
Hex Code #9c52eb
RGB Code rgb(156, 82, 235)
HSL Code hsl(269, 79%, 62%)

#9c52eb Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 82, 235);
   }

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(269, 79%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(156, 82, 235, 10%) #9c52eb1a  
rgb(156, 82, 235, 20%) #9c52eb33  
rgb(156, 82, 235, 40%) #9c52eb4C  
rgb(156, 82, 235, 60%) #9c52eb99  
rgb(156, 82, 235, 80%) #9c52ebCC  
rgb(156, 82, 235, 100%) #9c52ebFF  

Saturated and desaturated colors of #9c52eb

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

#9c52eb Color Usage In CSS

 body {
    color: #9c52eb;
    }
 p {
    color: rgb(156, 82, 235);
    }
 header {
    border-bottom:1px solid #9c52eb;
    }
Recent Random Colors