Random Color Generator

#9480f1 Color

Color Codes
Hex Code #9480f1
RGB Code rgb(148, 128, 241)
HSL Code hsl(251, 80%, 72%)

#9480f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(148, 128, 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(251, 80%, 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 #9480f1

RGB Code Hex Code Preview
rgb(148, 128, 241, 10%) #9480f11a  
rgb(148, 128, 241, 20%) #9480f133  
rgb(148, 128, 241, 40%) #9480f14C  
rgb(148, 128, 241, 60%) #9480f199  
rgb(148, 128, 241, 80%) #9480f1CC  
rgb(148, 128, 241, 100%) #9480f1FF  

Saturated and desaturated colors of #9480f1

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

#9480f1 Color Usage In CSS

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