Random Color Generator

#976acd Color

Color Codes
Hex Code #976acd
RGB Code rgb(151, 106, 205)
HSL Code hsl(267, 50%, 61%)

#976acd Color Syntax

rgb()

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

 main {
    background-color: rgb(151, 106, 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(267, 50%, 61%);
  }

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 #976acd

RGB Code Hex Code Preview
rgb(151, 106, 205, 10%) #976acd1a  
rgb(151, 106, 205, 20%) #976acd33  
rgb(151, 106, 205, 40%) #976acd4C  
rgb(151, 106, 205, 60%) #976acd99  
rgb(151, 106, 205, 80%) #976acdCC  
rgb(151, 106, 205, 100%) #976acdFF  

Saturated and desaturated colors of #976acd

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

#976acd Color Usage In CSS

 body {
    color: #976acd;
    }
 p {
    color: rgb(151, 106, 205);
    }
 header {
    border-bottom:1px solid #976acd;
    }
Recent Random Colors