Random Color Generator

#7762ac Color

Color Codes
Hex Code #7762ac
RGB Code rgb(119, 98, 172)
HSL Code hsl(257, 31%, 53%)

#7762ac Color Syntax

rgb()

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

 main {
    background-color: rgb(119, 98, 172);
   }

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(257, 31%, 53%);
  }

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 #7762ac

RGB Code Hex Code Preview
rgb(119, 98, 172, 10%) #7762ac1a  
rgb(119, 98, 172, 20%) #7762ac33  
rgb(119, 98, 172, 40%) #7762ac4C  
rgb(119, 98, 172, 60%) #7762ac99  
rgb(119, 98, 172, 80%) #7762acCC  
rgb(119, 98, 172, 100%) #7762acFF  

Saturated and desaturated colors of #7762ac

HSL Code Preview
hsl(257, 10%, 53%)  
hsl(257, 20%, 53%)  
hsl(257, 40%, 53%)  
hsl(257, 60%, 53%)  
hsl(257, 80%, 53%)  
hsl(257, 100%, 53%)  

#7762ac Color Usage In CSS

 body {
    color: #7762ac;
    }
 p {
    color: rgb(119, 98, 172);
    }
 header {
    border-bottom:1px solid #7762ac;
    }
Recent Random Colors