Random Color Generator

#522644 Color

Color Codes
Hex Code #522644
RGB Code rgb(82, 38, 68)
HSL Code hsl(319, 37%, 24%)

#522644 Color Syntax

rgb()

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

 main {
    background-color: rgb(82, 38, 68);
   }

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(319, 37%, 24%);
  }

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

RGB Code Hex Code Preview
rgb(82, 38, 68, 10%) #5226441a  
rgb(82, 38, 68, 20%) #52264433  
rgb(82, 38, 68, 40%) #5226444C  
rgb(82, 38, 68, 60%) #52264499  
rgb(82, 38, 68, 80%) #522644CC  
rgb(82, 38, 68, 100%) #522644FF  

Saturated and desaturated colors of #522644

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

#522644 Color Usage In CSS

 body {
    color: #522644;
    }
 p {
    color: rgb(82, 38, 68);
    }
 header {
    border-bottom:1px solid #522644;
    }
Recent Random Colors