Random Color Generator

#f2242c Color

Color Codes
Hex Code #f2242c
RGB Code rgb(242, 36, 44)
HSL Code hsl(358, 89%, 55%)

#f2242c Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 36, 44);
   }

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(358, 89%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(242, 36, 44, 10%) #f2242c1a  
rgb(242, 36, 44, 20%) #f2242c33  
rgb(242, 36, 44, 40%) #f2242c4C  
rgb(242, 36, 44, 60%) #f2242c99  
rgb(242, 36, 44, 80%) #f2242cCC  
rgb(242, 36, 44, 100%) #f2242cFF  

Saturated and desaturated colors of #f2242c

HSL Code Preview
hsl(358, 10%, 55%)  
hsl(358, 20%, 55%)  
hsl(358, 40%, 55%)  
hsl(358, 60%, 55%)  
hsl(358, 80%, 55%)  
hsl(358, 100%, 55%)  

#f2242c Color Usage In CSS

 body {
    color: #f2242c;
    }
 p {
    color: rgb(242, 36, 44);
    }
 header {
    border-bottom:1px solid #f2242c;
    }
Recent Random Colors