Random Color Generator

#7e261c Color

Color Codes
Hex Code #7e261c
RGB Code rgb(126, 38, 28)
HSL Code hsl(6, 64%, 30%)

#7e261c Color Syntax

rgb()

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

 main {
    background-color: rgb(126, 38, 28);
   }

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(6, 64%, 30%);
  }

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

RGB Code Hex Code Preview
rgb(126, 38, 28, 10%) #7e261c1a  
rgb(126, 38, 28, 20%) #7e261c33  
rgb(126, 38, 28, 40%) #7e261c4C  
rgb(126, 38, 28, 60%) #7e261c99  
rgb(126, 38, 28, 80%) #7e261cCC  
rgb(126, 38, 28, 100%) #7e261cFF  

Saturated and desaturated colors of #7e261c

HSL Code Preview
hsl(6, 10%, 30%)  
hsl(6, 20%, 30%)  
hsl(6, 40%, 30%)  
hsl(6, 60%, 30%)  
hsl(6, 80%, 30%)  
hsl(6, 100%, 30%)  

#7e261c Color Usage In CSS

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