Random Color Generator

#9150f1 Color

Color Codes
Hex Code #9150f1
RGB Code rgb(145, 80, 241)
HSL Code hsl(264, 85%, 63%)

#9150f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(145, 80, 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(264, 85%, 63%);
  }

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

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

Saturated and desaturated colors of #9150f1

HSL Code Preview
hsl(264, 10%, 63%)  
hsl(264, 20%, 63%)  
hsl(264, 40%, 63%)  
hsl(264, 60%, 63%)  
hsl(264, 80%, 63%)  
hsl(264, 100%, 63%)  

#9150f1 Color Usage In CSS

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