Random Color Generator

#7524b0 Color

Color Codes
Hex Code #7524b0
RGB Code rgb(117, 36, 176)
HSL Code hsl(275, 66%, 42%)

#7524b0 Color Syntax

rgb()

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

 main {
    background-color: rgb(117, 36, 176);
   }

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(275, 66%, 42%);
  }

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 #7524b0

RGB Code Hex Code Preview
rgb(117, 36, 176, 10%) #7524b01a  
rgb(117, 36, 176, 20%) #7524b033  
rgb(117, 36, 176, 40%) #7524b04C  
rgb(117, 36, 176, 60%) #7524b099  
rgb(117, 36, 176, 80%) #7524b0CC  
rgb(117, 36, 176, 100%) #7524b0FF  

Saturated and desaturated colors of #7524b0

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

#7524b0 Color Usage In CSS

 body {
    color: #7524b0;
    }
 p {
    color: rgb(117, 36, 176);
    }
 header {
    border-bottom:1px solid #7524b0;
    }
Recent Random Colors