Random Color Generator

#5c3049 Color

Color Codes
Hex Code #5c3049
RGB Code rgb(92, 48, 73)
HSL Code hsl(326, 31%, 27%)

#5c3049 Color Syntax

rgb()

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

 main {
    background-color: rgb(92, 48, 73);
   }

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(326, 31%, 27%);
  }

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

RGB Code Hex Code Preview
rgb(92, 48, 73, 10%) #5c30491a  
rgb(92, 48, 73, 20%) #5c304933  
rgb(92, 48, 73, 40%) #5c30494C  
rgb(92, 48, 73, 60%) #5c304999  
rgb(92, 48, 73, 80%) #5c3049CC  
rgb(92, 48, 73, 100%) #5c3049FF  

Saturated and desaturated colors of #5c3049

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

#5c3049 Color Usage In CSS

 body {
    color: #5c3049;
    }
 p {
    color: rgb(92, 48, 73);
    }
 header {
    border-bottom:1px solid #5c3049;
    }
Recent Random Colors