Random Color Generator

#528422 Color

Color Codes
Hex Code #528422
RGB Code rgb(82, 132, 34)
HSL Code hsl(91, 59%, 33%)

#528422 Color Syntax

rgb()

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

 main {
    background-color: rgb(82, 132, 34);
   }

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(91, 59%, 33%);
  }

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

RGB Code Hex Code Preview
rgb(82, 132, 34, 10%) #5284221a  
rgb(82, 132, 34, 20%) #52842233  
rgb(82, 132, 34, 40%) #5284224C  
rgb(82, 132, 34, 60%) #52842299  
rgb(82, 132, 34, 80%) #528422CC  
rgb(82, 132, 34, 100%) #528422FF  

Saturated and desaturated colors of #528422

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

#528422 Color Usage In CSS

 body {
    color: #528422;
    }
 p {
    color: rgb(82, 132, 34);
    }
 header {
    border-bottom:1px solid #528422;
    }
Recent Random Colors