Random Color Generator

#7e456d Color

Color Codes
Hex Code #7e456d
RGB Code rgb(126, 69, 109)
HSL Code hsl(318, 29%, 38%)

#7e456d Color Syntax

rgb()

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

 main {
    background-color: rgb(126, 69, 109);
   }

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(318, 29%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(126, 69, 109, 10%) #7e456d1a  
rgb(126, 69, 109, 20%) #7e456d33  
rgb(126, 69, 109, 40%) #7e456d4C  
rgb(126, 69, 109, 60%) #7e456d99  
rgb(126, 69, 109, 80%) #7e456dCC  
rgb(126, 69, 109, 100%) #7e456dFF  

Saturated and desaturated colors of #7e456d

HSL Code Preview
hsl(318, 10%, 38%)  
hsl(318, 20%, 38%)  
hsl(318, 40%, 38%)  
hsl(318, 60%, 38%)  
hsl(318, 80%, 38%)  
hsl(318, 100%, 38%)  

#7e456d Color Usage In CSS

 body {
    color: #7e456d;
    }
 p {
    color: rgb(126, 69, 109);
    }
 header {
    border-bottom:1px solid #7e456d;
    }
Recent Random Colors