Random Color Generator

#e42256 Color

Color Codes
Hex Code #e42256
RGB Code rgb(228, 34, 86)
HSL Code hsl(344, 78%, 51%)

#e42256 Color Syntax

rgb()

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

 main {
    background-color: rgb(228, 34, 86);
   }

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(344, 78%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(228, 34, 86, 10%) #e422561a  
rgb(228, 34, 86, 20%) #e4225633  
rgb(228, 34, 86, 40%) #e422564C  
rgb(228, 34, 86, 60%) #e4225699  
rgb(228, 34, 86, 80%) #e42256CC  
rgb(228, 34, 86, 100%) #e42256FF  

Saturated and desaturated colors of #e42256

HSL Code Preview
hsl(344, 10%, 51%)  
hsl(344, 20%, 51%)  
hsl(344, 40%, 51%)  
hsl(344, 60%, 51%)  
hsl(344, 80%, 51%)  
hsl(344, 100%, 51%)  

#e42256 Color Usage In CSS

 body {
    color: #e42256;
    }
 p {
    color: rgb(228, 34, 86);
    }
 header {
    border-bottom:1px solid #e42256;
    }
Recent Random Colors