Random Color Generator

#ed2f5e Color

Color Codes
Hex Code #ed2f5e
RGB Code rgb(237, 47, 94)
HSL Code hsl(345, 84%, 56%)

#ed2f5e Color Syntax

rgb()

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

 main {
    background-color: rgb(237, 47, 94);
   }

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(345, 84%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(237, 47, 94, 10%) #ed2f5e1a  
rgb(237, 47, 94, 20%) #ed2f5e33  
rgb(237, 47, 94, 40%) #ed2f5e4C  
rgb(237, 47, 94, 60%) #ed2f5e99  
rgb(237, 47, 94, 80%) #ed2f5eCC  
rgb(237, 47, 94, 100%) #ed2f5eFF  

Saturated and desaturated colors of #ed2f5e

HSL Code Preview
hsl(345, 10%, 56%)  
hsl(345, 20%, 56%)  
hsl(345, 40%, 56%)  
hsl(345, 60%, 56%)  
hsl(345, 80%, 56%)  
hsl(345, 100%, 56%)  

#ed2f5e Color Usage In CSS

 body {
    color: #ed2f5e;
    }
 p {
    color: rgb(237, 47, 94);
    }
 header {
    border-bottom:1px solid #ed2f5e;
    }
Recent Random Colors