Random Color Generator

#772feb Color

Color Codes
Hex Code #772feb
RGB Code rgb(119, 47, 235)
HSL Code hsl(263, 82%, 55%)

#772feb Color Syntax

rgb()

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

 main {
    background-color: rgb(119, 47, 235);
   }

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(263, 82%, 55%);
  }

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 #772feb

RGB Code Hex Code Preview
rgb(119, 47, 235, 10%) #772feb1a  
rgb(119, 47, 235, 20%) #772feb33  
rgb(119, 47, 235, 40%) #772feb4C  
rgb(119, 47, 235, 60%) #772feb99  
rgb(119, 47, 235, 80%) #772febCC  
rgb(119, 47, 235, 100%) #772febFF  

Saturated and desaturated colors of #772feb

HSL Code Preview
hsl(263, 10%, 55%)  
hsl(263, 20%, 55%)  
hsl(263, 40%, 55%)  
hsl(263, 60%, 55%)  
hsl(263, 80%, 55%)  
hsl(263, 100%, 55%)  

#772feb Color Usage In CSS

 body {
    color: #772feb;
    }
 p {
    color: rgb(119, 47, 235);
    }
 header {
    border-bottom:1px solid #772feb;
    }
Recent Random Colors