Random Color Generator

#7d2c4b Color

Color Codes
Hex Code #7d2c4b
RGB Code rgb(125, 44, 75)
HSL Code hsl(337, 48%, 33%)

#7d2c4b Color Syntax

rgb()

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

 main {
    background-color: rgb(125, 44, 75);
   }

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, 48%, 33%);
  }

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

RGB Code Hex Code Preview
rgb(125, 44, 75, 10%) #7d2c4b1a  
rgb(125, 44, 75, 20%) #7d2c4b33  
rgb(125, 44, 75, 40%) #7d2c4b4C  
rgb(125, 44, 75, 60%) #7d2c4b99  
rgb(125, 44, 75, 80%) #7d2c4bCC  
rgb(125, 44, 75, 100%) #7d2c4bFF  

Saturated and desaturated colors of #7d2c4b

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

#7d2c4b Color Usage In CSS

 body {
    color: #7d2c4b;
    }
 p {
    color: rgb(125, 44, 75);
    }
 header {
    border-bottom:1px solid #7d2c4b;
    }
Recent Random Colors