Random Color Generator

#821579 Color

Color Codes
Hex Code #821579
RGB Code rgb(130, 21, 121)
HSL Code hsl(305, 72%, 30%)

#821579 Color Syntax

rgb()

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

 main {
    background-color: rgb(130, 21, 121);
   }

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(305, 72%, 30%);
  }

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

RGB Code Hex Code Preview
rgb(130, 21, 121, 10%) #8215791a  
rgb(130, 21, 121, 20%) #82157933  
rgb(130, 21, 121, 40%) #8215794C  
rgb(130, 21, 121, 60%) #82157999  
rgb(130, 21, 121, 80%) #821579CC  
rgb(130, 21, 121, 100%) #821579FF  

Saturated and desaturated colors of #821579

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

#821579 Color Usage In CSS

 body {
    color: #821579;
    }
 p {
    color: rgb(130, 21, 121);
    }
 header {
    border-bottom:1px solid #821579;
    }
Recent Random Colors