Random Color Generator

#821c74 Color

Color Codes
Hex Code #821c74
RGB Code rgb(130, 28, 116)
HSL Code hsl(308, 65%, 31%)

#821c74 Color Syntax

rgb()

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

 main {
    background-color: rgb(130, 28, 116);
   }

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(308, 65%, 31%);
  }

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 #821c74

RGB Code Hex Code Preview
rgb(130, 28, 116, 10%) #821c741a  
rgb(130, 28, 116, 20%) #821c7433  
rgb(130, 28, 116, 40%) #821c744C  
rgb(130, 28, 116, 60%) #821c7499  
rgb(130, 28, 116, 80%) #821c74CC  
rgb(130, 28, 116, 100%) #821c74FF  

Saturated and desaturated colors of #821c74

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

#821c74 Color Usage In CSS

 body {
    color: #821c74;
    }
 p {
    color: rgb(130, 28, 116);
    }
 header {
    border-bottom:1px solid #821c74;
    }
Recent Random Colors