Random Color Generator

#e12f34 Color

Color Codes
Hex Code #e12f34
RGB Code rgb(225, 47, 52)
HSL Code hsl(358, 75%, 53%)

#e12f34 Color Syntax

rgb()

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

 main {
    background-color: rgb(225, 47, 52);
   }

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(358, 75%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(225, 47, 52, 10%) #e12f341a  
rgb(225, 47, 52, 20%) #e12f3433  
rgb(225, 47, 52, 40%) #e12f344C  
rgb(225, 47, 52, 60%) #e12f3499  
rgb(225, 47, 52, 80%) #e12f34CC  
rgb(225, 47, 52, 100%) #e12f34FF  

Saturated and desaturated colors of #e12f34

HSL Code Preview
hsl(358, 10%, 53%)  
hsl(358, 20%, 53%)  
hsl(358, 40%, 53%)  
hsl(358, 60%, 53%)  
hsl(358, 80%, 53%)  
hsl(358, 100%, 53%)  

#e12f34 Color Usage In CSS

 body {
    color: #e12f34;
    }
 p {
    color: rgb(225, 47, 52);
    }
 header {
    border-bottom:1px solid #e12f34;
    }
Recent Random Colors