Random Color Generator

#7518f3 Color

Color Codes
Hex Code #7518f3
RGB Code rgb(117, 24, 243)
HSL Code hsl(265, 90%, 52%)

#7518f3 Color Syntax

rgb()

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

 main {
    background-color: rgb(117, 24, 243);
   }

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(265, 90%, 52%);
  }

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 #7518f3

RGB Code Hex Code Preview
rgb(117, 24, 243, 10%) #7518f31a  
rgb(117, 24, 243, 20%) #7518f333  
rgb(117, 24, 243, 40%) #7518f34C  
rgb(117, 24, 243, 60%) #7518f399  
rgb(117, 24, 243, 80%) #7518f3CC  
rgb(117, 24, 243, 100%) #7518f3FF  

Saturated and desaturated colors of #7518f3

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

#7518f3 Color Usage In CSS

 body {
    color: #7518f3;
    }
 p {
    color: rgb(117, 24, 243);
    }
 header {
    border-bottom:1px solid #7518f3;
    }
Recent Random Colors