Random Color Generator

#501c20 Color

Color Codes
Hex Code #501c20
RGB Code rgb(80, 28, 32)
HSL Code hsl(355, 48%, 21%)

#501c20 Color Syntax

rgb()

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

 main {
    background-color: rgb(80, 28, 32);
   }

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(355, 48%, 21%);
  }

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 #501c20

RGB Code Hex Code Preview
rgb(80, 28, 32, 10%) #501c201a  
rgb(80, 28, 32, 20%) #501c2033  
rgb(80, 28, 32, 40%) #501c204C  
rgb(80, 28, 32, 60%) #501c2099  
rgb(80, 28, 32, 80%) #501c20CC  
rgb(80, 28, 32, 100%) #501c20FF  

Saturated and desaturated colors of #501c20

HSL Code Preview
hsl(355, 10%, 21%)  
hsl(355, 20%, 21%)  
hsl(355, 40%, 21%)  
hsl(355, 60%, 21%)  
hsl(355, 80%, 21%)  
hsl(355, 100%, 21%)  

#501c20 Color Usage In CSS

 body {
    color: #501c20;
    }
 p {
    color: rgb(80, 28, 32);
    }
 header {
    border-bottom:1px solid #501c20;
    }
Recent Random Colors