Random Color Generator

#7533b6 Color

Color Codes
Hex Code #7533b6
RGB Code rgb(117, 51, 182)
HSL Code hsl(270, 56%, 46%)

#7533b6 Color Syntax

rgb()

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

 main {
    background-color: rgb(117, 51, 182);
   }

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(270, 56%, 46%);
  }

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 #7533b6

RGB Code Hex Code Preview
rgb(117, 51, 182, 10%) #7533b61a  
rgb(117, 51, 182, 20%) #7533b633  
rgb(117, 51, 182, 40%) #7533b64C  
rgb(117, 51, 182, 60%) #7533b699  
rgb(117, 51, 182, 80%) #7533b6CC  
rgb(117, 51, 182, 100%) #7533b6FF  

Saturated and desaturated colors of #7533b6

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

#7533b6 Color Usage In CSS

 body {
    color: #7533b6;
    }
 p {
    color: rgb(117, 51, 182);
    }
 header {
    border-bottom:1px solid #7533b6;
    }
Recent Random Colors