Random Color Generator

#e23272 Color

Color Codes
Hex Code #e23272
RGB Code rgb(226, 50, 114)
HSL Code hsl(338, 75%, 54%)

#e23272 Color Syntax

rgb()

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

 main {
    background-color: rgb(226, 50, 114);
   }

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(338, 75%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(226, 50, 114, 10%) #e232721a  
rgb(226, 50, 114, 20%) #e2327233  
rgb(226, 50, 114, 40%) #e232724C  
rgb(226, 50, 114, 60%) #e2327299  
rgb(226, 50, 114, 80%) #e23272CC  
rgb(226, 50, 114, 100%) #e23272FF  

Saturated and desaturated colors of #e23272

HSL Code Preview
hsl(338, 10%, 54%)  
hsl(338, 20%, 54%)  
hsl(338, 40%, 54%)  
hsl(338, 60%, 54%)  
hsl(338, 80%, 54%)  
hsl(338, 100%, 54%)  

#e23272 Color Usage In CSS

 body {
    color: #e23272;
    }
 p {
    color: rgb(226, 50, 114);
    }
 header {
    border-bottom:1px solid #e23272;
    }
Recent Random Colors