Random Color Generator

#7a527c Color

Color Codes
Hex Code #7a527c
RGB Code rgb(122, 82, 124)
HSL Code hsl(297, 20%, 40%)

#7a527c Color Syntax

rgb()

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

 main {
    background-color: rgb(122, 82, 124);
   }

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(297, 20%, 40%);
  }

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 #7a527c

RGB Code Hex Code Preview
rgb(122, 82, 124, 10%) #7a527c1a  
rgb(122, 82, 124, 20%) #7a527c33  
rgb(122, 82, 124, 40%) #7a527c4C  
rgb(122, 82, 124, 60%) #7a527c99  
rgb(122, 82, 124, 80%) #7a527cCC  
rgb(122, 82, 124, 100%) #7a527cFF  

Saturated and desaturated colors of #7a527c

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

#7a527c Color Usage In CSS

 body {
    color: #7a527c;
    }
 p {
    color: rgb(122, 82, 124);
    }
 header {
    border-bottom:1px solid #7a527c;
    }
Recent Random Colors