Random Color Generator

#5b2439 Color

Color Codes
Hex Code #5b2439
RGB Code rgb(91, 36, 57)
HSL Code hsl(337, 43%, 25%)

#5b2439 Color Syntax

rgb()

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

 main {
    background-color: rgb(91, 36, 57);
   }

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(337, 43%, 25%);
  }

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

RGB Code Hex Code Preview
rgb(91, 36, 57, 10%) #5b24391a  
rgb(91, 36, 57, 20%) #5b243933  
rgb(91, 36, 57, 40%) #5b24394C  
rgb(91, 36, 57, 60%) #5b243999  
rgb(91, 36, 57, 80%) #5b2439CC  
rgb(91, 36, 57, 100%) #5b2439FF  

Saturated and desaturated colors of #5b2439

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

#5b2439 Color Usage In CSS

 body {
    color: #5b2439;
    }
 p {
    color: rgb(91, 36, 57);
    }
 header {
    border-bottom:1px solid #5b2439;
    }
Recent Random Colors