Random Color Generator

#504528 Color

Color Codes
Hex Code #504528
RGB Code rgb(80, 69, 40)
HSL Code hsl(44, 33%, 24%)

#504528 Color Syntax

rgb()

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

 main {
    background-color: rgb(80, 69, 40);
   }

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(44, 33%, 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 #504528

RGB Code Hex Code Preview
rgb(80, 69, 40, 10%) #5045281a  
rgb(80, 69, 40, 20%) #50452833  
rgb(80, 69, 40, 40%) #5045284C  
rgb(80, 69, 40, 60%) #50452899  
rgb(80, 69, 40, 80%) #504528CC  
rgb(80, 69, 40, 100%) #504528FF  

Saturated and desaturated colors of #504528

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

#504528 Color Usage In CSS

 body {
    color: #504528;
    }
 p {
    color: rgb(80, 69, 40);
    }
 header {
    border-bottom:1px solid #504528;
    }
Recent Random Colors