Random Color Generator

#e51a3e Color

Color Codes
Hex Code #e51a3e
RGB Code rgb(229, 26, 62)
HSL Code hsl(349, 80%, 50%)

#e51a3e Color Syntax

rgb()

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

 main {
    background-color: rgb(229, 26, 62);
   }

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(349, 80%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(229, 26, 62, 10%) #e51a3e1a  
rgb(229, 26, 62, 20%) #e51a3e33  
rgb(229, 26, 62, 40%) #e51a3e4C  
rgb(229, 26, 62, 60%) #e51a3e99  
rgb(229, 26, 62, 80%) #e51a3eCC  
rgb(229, 26, 62, 100%) #e51a3eFF  

Saturated and desaturated colors of #e51a3e

HSL Code Preview
hsl(349, 10%, 50%)  
hsl(349, 20%, 50%)  
hsl(349, 40%, 50%)  
hsl(349, 60%, 50%)  
hsl(349, 80%, 50%)  
hsl(349, 100%, 50%)  

#e51a3e Color Usage In CSS

 body {
    color: #e51a3e;
    }
 p {
    color: rgb(229, 26, 62);
    }
 header {
    border-bottom:1px solid #e51a3e;
    }
Recent Random Colors