Random Color Generator

#f53249 Color

Color Codes
Hex Code #f53249
RGB Code rgb(245, 50, 73)
HSL Code hsl(353, 91%, 58%)

#f53249 Color Syntax

rgb()

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

 main {
    background-color: rgb(245, 50, 73);
   }

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(353, 91%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(245, 50, 73, 10%) #f532491a  
rgb(245, 50, 73, 20%) #f5324933  
rgb(245, 50, 73, 40%) #f532494C  
rgb(245, 50, 73, 60%) #f5324999  
rgb(245, 50, 73, 80%) #f53249CC  
rgb(245, 50, 73, 100%) #f53249FF  

Saturated and desaturated colors of #f53249

HSL Code Preview
hsl(353, 10%, 58%)  
hsl(353, 20%, 58%)  
hsl(353, 40%, 58%)  
hsl(353, 60%, 58%)  
hsl(353, 80%, 58%)  
hsl(353, 100%, 58%)  

#f53249 Color Usage In CSS

 body {
    color: #f53249;
    }
 p {
    color: rgb(245, 50, 73);
    }
 header {
    border-bottom:1px solid #f53249;
    }
Recent Random Colors