Random Color Generator

#f72e4a Color

Color Codes
Hex Code #f72e4a
RGB Code rgb(247, 46, 74)
HSL Code hsl(352, 93%, 57%)

#f72e4a Color Syntax

rgb()

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

 main {
    background-color: rgb(247, 46, 74);
   }

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(352, 93%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(247, 46, 74, 10%) #f72e4a1a  
rgb(247, 46, 74, 20%) #f72e4a33  
rgb(247, 46, 74, 40%) #f72e4a4C  
rgb(247, 46, 74, 60%) #f72e4a99  
rgb(247, 46, 74, 80%) #f72e4aCC  
rgb(247, 46, 74, 100%) #f72e4aFF  

Saturated and desaturated colors of #f72e4a

HSL Code Preview
hsl(352, 10%, 57%)  
hsl(352, 20%, 57%)  
hsl(352, 40%, 57%)  
hsl(352, 60%, 57%)  
hsl(352, 80%, 57%)  
hsl(352, 100%, 57%)  

#f72e4a Color Usage In CSS

 body {
    color: #f72e4a;
    }
 p {
    color: rgb(247, 46, 74);
    }
 header {
    border-bottom:1px solid #f72e4a;
    }
Recent Random Colors