Random Color Generator

#5a1e0a Color

Color Codes
Hex Code #5a1e0a
RGB Code rgb(90, 30, 10)
HSL Code hsl(15, 80%, 20%)

#5a1e0a Color Syntax

rgb()

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

 main {
    background-color: rgb(90, 30, 10);
   }

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(15, 80%, 20%);
  }

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 #5a1e0a

RGB Code Hex Code Preview
rgb(90, 30, 10, 10%) #5a1e0a1a  
rgb(90, 30, 10, 20%) #5a1e0a33  
rgb(90, 30, 10, 40%) #5a1e0a4C  
rgb(90, 30, 10, 60%) #5a1e0a99  
rgb(90, 30, 10, 80%) #5a1e0aCC  
rgb(90, 30, 10, 100%) #5a1e0aFF  

Saturated and desaturated colors of #5a1e0a

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

#5a1e0a Color Usage In CSS

 body {
    color: #5a1e0a;
    }
 p {
    color: rgb(90, 30, 10);
    }
 header {
    border-bottom:1px solid #5a1e0a;
    }
Recent Random Colors