Random Color Generator

#7509ae Color

Color Codes
Hex Code #7509ae
RGB Code rgb(117, 09, 174)
HSL Code hsl(279, 90%, 36%)

#7509ae Color Syntax

rgb()

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

 main {
    background-color: rgb(117, 09, 174);
   }

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(279, 90%, 36%);
  }

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 #7509ae

RGB Code Hex Code Preview
rgb(117, 09, 174, 10%) #7509ae1a  
rgb(117, 09, 174, 20%) #7509ae33  
rgb(117, 09, 174, 40%) #7509ae4C  
rgb(117, 09, 174, 60%) #7509ae99  
rgb(117, 09, 174, 80%) #7509aeCC  
rgb(117, 09, 174, 100%) #7509aeFF  

Saturated and desaturated colors of #7509ae

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

#7509ae Color Usage In CSS

 body {
    color: #7509ae;
    }
 p {
    color: rgb(117, 09, 174);
    }
 header {
    border-bottom:1px solid #7509ae;
    }
Recent Random Colors