Random Color Generator

#7505f1 Color

Color Codes
Hex Code #7505f1
RGB Code rgb(117, 05, 241)
HSL Code hsl(268, 96%, 48%)

#7505f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(117, 05, 241);
   }

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(268, 96%, 48%);
  }

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 #7505f1

RGB Code Hex Code Preview
rgb(117, 05, 241, 10%) #7505f11a  
rgb(117, 05, 241, 20%) #7505f133  
rgb(117, 05, 241, 40%) #7505f14C  
rgb(117, 05, 241, 60%) #7505f199  
rgb(117, 05, 241, 80%) #7505f1CC  
rgb(117, 05, 241, 100%) #7505f1FF  

Saturated and desaturated colors of #7505f1

HSL Code Preview
hsl(268, 10%, 48%)  
hsl(268, 20%, 48%)  
hsl(268, 40%, 48%)  
hsl(268, 60%, 48%)  
hsl(268, 80%, 48%)  
hsl(268, 100%, 48%)  

#7505f1 Color Usage In CSS

 body {
    color: #7505f1;
    }
 p {
    color: rgb(117, 05, 241);
    }
 header {
    border-bottom:1px solid #7505f1;
    }
Recent Random Colors