Random Color Generator

#5e0120 Color

Color Codes
Hex Code #5e0120
RGB Code rgb(94, 01, 32)
HSL Code hsl(340, 98%, 19%)

#5e0120 Color Syntax

rgb()

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

 main {
    background-color: rgb(94, 01, 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(340, 98%, 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 #5e0120

RGB Code Hex Code Preview
rgb(94, 01, 32, 10%) #5e01201a  
rgb(94, 01, 32, 20%) #5e012033  
rgb(94, 01, 32, 40%) #5e01204C  
rgb(94, 01, 32, 60%) #5e012099  
rgb(94, 01, 32, 80%) #5e0120CC  
rgb(94, 01, 32, 100%) #5e0120FF  

Saturated and desaturated colors of #5e0120

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

#5e0120 Color Usage In CSS

 body {
    color: #5e0120;
    }
 p {
    color: rgb(94, 01, 32);
    }
 header {
    border-bottom:1px solid #5e0120;
    }
Recent Random Colors