Random Color Generator

#504e0f Color

Color Codes
Hex Code #504e0f
RGB Code rgb(80, 78, 15)
HSL Code hsl(58, 68%, 19%)

#504e0f Color Syntax

rgb()

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

 main {
    background-color: rgb(80, 78, 15);
   }

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(58, 68%, 19%);
  }

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 #504e0f

RGB Code Hex Code Preview
rgb(80, 78, 15, 10%) #504e0f1a  
rgb(80, 78, 15, 20%) #504e0f33  
rgb(80, 78, 15, 40%) #504e0f4C  
rgb(80, 78, 15, 60%) #504e0f99  
rgb(80, 78, 15, 80%) #504e0fCC  
rgb(80, 78, 15, 100%) #504e0fFF  

Saturated and desaturated colors of #504e0f

HSL Code Preview
hsl(58, 10%, 19%)  
hsl(58, 20%, 19%)  
hsl(58, 40%, 19%)  
hsl(58, 60%, 19%)  
hsl(58, 80%, 19%)  
hsl(58, 100%, 19%)  

#504e0f Color Usage In CSS

 body {
    color: #504e0f;
    }
 p {
    color: rgb(80, 78, 15);
    }
 header {
    border-bottom:1px solid #504e0f;
    }
Recent Random Colors