Random Color Generator

#502631 Color

Color Codes
Hex Code #502631
RGB Code rgb(80, 38, 49)
HSL Code hsl(344, 36%, 23%)

#502631 Color Syntax

rgb()

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

 main {
    background-color: rgb(80, 38, 49);
   }

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(344, 36%, 23%);
  }

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 #502631

RGB Code Hex Code Preview
rgb(80, 38, 49, 10%) #5026311a  
rgb(80, 38, 49, 20%) #50263133  
rgb(80, 38, 49, 40%) #5026314C  
rgb(80, 38, 49, 60%) #50263199  
rgb(80, 38, 49, 80%) #502631CC  
rgb(80, 38, 49, 100%) #502631FF  

Saturated and desaturated colors of #502631

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

#502631 Color Usage In CSS

 body {
    color: #502631;
    }
 p {
    color: rgb(80, 38, 49);
    }
 header {
    border-bottom:1px solid #502631;
    }
Recent Random Colors