Random Color Generator

#e21423 Color

Color Codes
Hex Code #e21423
RGB Code rgb(226, 20, 35)
HSL Code hsl(356, 84%, 48%)

#e21423 Color Syntax

rgb()

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

 main {
    background-color: rgb(226, 20, 35);
   }

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(356, 84%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(226, 20, 35, 10%) #e214231a  
rgb(226, 20, 35, 20%) #e2142333  
rgb(226, 20, 35, 40%) #e214234C  
rgb(226, 20, 35, 60%) #e2142399  
rgb(226, 20, 35, 80%) #e21423CC  
rgb(226, 20, 35, 100%) #e21423FF  

Saturated and desaturated colors of #e21423

HSL Code Preview
hsl(356, 10%, 48%)  
hsl(356, 20%, 48%)  
hsl(356, 40%, 48%)  
hsl(356, 60%, 48%)  
hsl(356, 80%, 48%)  
hsl(356, 100%, 48%)  

#e21423 Color Usage In CSS

 body {
    color: #e21423;
    }
 p {
    color: rgb(226, 20, 35);
    }
 header {
    border-bottom:1px solid #e21423;
    }
Recent Random Colors