Random Color Generator

#7591fa Color

Color Codes
Hex Code #7591fa
RGB Code rgb(117, 145, 250)
HSL Code hsl(227, 93%, 72%)

#7591fa Color Syntax

rgb()

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

 main {
    background-color: rgb(117, 145, 250);
   }

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(227, 93%, 72%);
  }

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 #7591fa

RGB Code Hex Code Preview
rgb(117, 145, 250, 10%) #7591fa1a  
rgb(117, 145, 250, 20%) #7591fa33  
rgb(117, 145, 250, 40%) #7591fa4C  
rgb(117, 145, 250, 60%) #7591fa99  
rgb(117, 145, 250, 80%) #7591faCC  
rgb(117, 145, 250, 100%) #7591faFF  

Saturated and desaturated colors of #7591fa

HSL Code Preview
hsl(227, 10%, 72%)  
hsl(227, 20%, 72%)  
hsl(227, 40%, 72%)  
hsl(227, 60%, 72%)  
hsl(227, 80%, 72%)  
hsl(227, 100%, 72%)  

#7591fa Color Usage In CSS

 body {
    color: #7591fa;
    }
 p {
    color: rgb(117, 145, 250);
    }
 header {
    border-bottom:1px solid #7591fa;
    }
Recent Random Colors