Random Color Generator

#790ff9 Color

Color Codes
Hex Code #790ff9
RGB Code rgb(121, 15, 249)
HSL Code hsl(267, 95%, 52%)

#790ff9 Color Syntax

rgb()

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

 main {
    background-color: rgb(121, 15, 249);
   }

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(267, 95%, 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 #790ff9

RGB Code Hex Code Preview
rgb(121, 15, 249, 10%) #790ff91a  
rgb(121, 15, 249, 20%) #790ff933  
rgb(121, 15, 249, 40%) #790ff94C  
rgb(121, 15, 249, 60%) #790ff999  
rgb(121, 15, 249, 80%) #790ff9CC  
rgb(121, 15, 249, 100%) #790ff9FF  

Saturated and desaturated colors of #790ff9

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

#790ff9 Color Usage In CSS

 body {
    color: #790ff9;
    }
 p {
    color: rgb(121, 15, 249);
    }
 header {
    border-bottom:1px solid #790ff9;
    }
Recent Random Colors