Random Color Generator

#766dcd Color

Color Codes
Hex Code #766dcd
RGB Code rgb(118, 109, 205)
HSL Code hsl(246, 49%, 62%)

#766dcd Color Syntax

rgb()

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

 main {
    background-color: rgb(118, 109, 205);
   }

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(246, 49%, 62%);
  }

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 #766dcd

RGB Code Hex Code Preview
rgb(118, 109, 205, 10%) #766dcd1a  
rgb(118, 109, 205, 20%) #766dcd33  
rgb(118, 109, 205, 40%) #766dcd4C  
rgb(118, 109, 205, 60%) #766dcd99  
rgb(118, 109, 205, 80%) #766dcdCC  
rgb(118, 109, 205, 100%) #766dcdFF  

Saturated and desaturated colors of #766dcd

HSL Code Preview
hsl(246, 10%, 62%)  
hsl(246, 20%, 62%)  
hsl(246, 40%, 62%)  
hsl(246, 60%, 62%)  
hsl(246, 80%, 62%)  
hsl(246, 100%, 62%)  

#766dcd Color Usage In CSS

 body {
    color: #766dcd;
    }
 p {
    color: rgb(118, 109, 205);
    }
 header {
    border-bottom:1px solid #766dcd;
    }
Recent Random Colors