Random Color Generator

#e5011f Color

Color Codes
Hex Code #e5011f
RGB Code rgb(229, 01, 31)
HSL Code hsl(352, 99%, 45%)

#e5011f Color Syntax

rgb()

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

 main {
    background-color: rgb(229, 01, 31);
   }

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, 99%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(229, 01, 31, 10%) #e5011f1a  
rgb(229, 01, 31, 20%) #e5011f33  
rgb(229, 01, 31, 40%) #e5011f4C  
rgb(229, 01, 31, 60%) #e5011f99  
rgb(229, 01, 31, 80%) #e5011fCC  
rgb(229, 01, 31, 100%) #e5011fFF  

Saturated and desaturated colors of #e5011f

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

#e5011f Color Usage In CSS

 body {
    color: #e5011f;
    }
 p {
    color: rgb(229, 01, 31);
    }
 header {
    border-bottom:1px solid #e5011f;
    }
Recent Random Colors