Random Color Generator

#e872c9 Color

Color Codes
Hex Code #e872c9
RGB Code rgb(232, 114, 201)
HSL Code hsl(316, 72%, 68%)

#e872c9 Color Syntax

rgb()

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

 main {
    background-color: rgb(232, 114, 201);
   }

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(316, 72%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(232, 114, 201, 10%) #e872c91a  
rgb(232, 114, 201, 20%) #e872c933  
rgb(232, 114, 201, 40%) #e872c94C  
rgb(232, 114, 201, 60%) #e872c999  
rgb(232, 114, 201, 80%) #e872c9CC  
rgb(232, 114, 201, 100%) #e872c9FF  

Saturated and desaturated colors of #e872c9

HSL Code Preview
hsl(316, 10%, 68%)  
hsl(316, 20%, 68%)  
hsl(316, 40%, 68%)  
hsl(316, 60%, 68%)  
hsl(316, 80%, 68%)  
hsl(316, 100%, 68%)  

#e872c9 Color Usage In CSS

 body {
    color: #e872c9;
    }
 p {
    color: rgb(232, 114, 201);
    }
 header {
    border-bottom:1px solid #e872c9;
    }
Recent Random Colors