Random Color Generator

#f92252 Color

Color Codes
Hex Code #f92252
RGB Code rgb(249, 34, 82)
HSL Code hsl(347, 95%, 55%)

#f92252 Color Syntax

rgb()

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

 main {
    background-color: rgb(249, 34, 82);
   }

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(347, 95%, 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 #f92252

RGB Code Hex Code Preview
rgb(249, 34, 82, 10%) #f922521a  
rgb(249, 34, 82, 20%) #f9225233  
rgb(249, 34, 82, 40%) #f922524C  
rgb(249, 34, 82, 60%) #f9225299  
rgb(249, 34, 82, 80%) #f92252CC  
rgb(249, 34, 82, 100%) #f92252FF  

Saturated and desaturated colors of #f92252

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

#f92252 Color Usage In CSS

 body {
    color: #f92252;
    }
 p {
    color: rgb(249, 34, 82);
    }
 header {
    border-bottom:1px solid #f92252;
    }
Recent Random Colors