Random Color Generator

#e50a28 Color

Color Codes
Hex Code #e50a28
RGB Code rgb(229, 10, 40)
HSL Code hsl(352, 92%, 47%)

#e50a28 Color Syntax

rgb()

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

 main {
    background-color: rgb(229, 10, 40);
   }

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(352, 92%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(229, 10, 40, 10%) #e50a281a  
rgb(229, 10, 40, 20%) #e50a2833  
rgb(229, 10, 40, 40%) #e50a284C  
rgb(229, 10, 40, 60%) #e50a2899  
rgb(229, 10, 40, 80%) #e50a28CC  
rgb(229, 10, 40, 100%) #e50a28FF  

Saturated and desaturated colors of #e50a28

HSL Code Preview
hsl(352, 10%, 47%)  
hsl(352, 20%, 47%)  
hsl(352, 40%, 47%)  
hsl(352, 60%, 47%)  
hsl(352, 80%, 47%)  
hsl(352, 100%, 47%)  

#e50a28 Color Usage In CSS

 body {
    color: #e50a28;
    }
 p {
    color: rgb(229, 10, 40);
    }
 header {
    border-bottom:1px solid #e50a28;
    }
Recent Random Colors