Random Color Generator

#e12287 Color

Color Codes
Hex Code #e12287
RGB Code rgb(225, 34, 135)
HSL Code hsl(328, 76%, 51%)

#e12287 Color Syntax

rgb()

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

 main {
    background-color: rgb(225, 34, 135);
   }

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(328, 76%, 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 #e12287

RGB Code Hex Code Preview
rgb(225, 34, 135, 10%) #e122871a  
rgb(225, 34, 135, 20%) #e1228733  
rgb(225, 34, 135, 40%) #e122874C  
rgb(225, 34, 135, 60%) #e1228799  
rgb(225, 34, 135, 80%) #e12287CC  
rgb(225, 34, 135, 100%) #e12287FF  

Saturated and desaturated colors of #e12287

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

#e12287 Color Usage In CSS

 body {
    color: #e12287;
    }
 p {
    color: rgb(225, 34, 135);
    }
 header {
    border-bottom:1px solid #e12287;
    }
Recent Random Colors