Random Color Generator

#f71112 Color

Color Codes
Hex Code #f71112
RGB Code rgb(247, 17, 18)
HSL Code hsl(360, 93%, 52%)

#f71112 Color Syntax

rgb()

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

 main {
    background-color: rgb(247, 17, 18);
   }

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(360, 93%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(247, 17, 18, 10%) #f711121a  
rgb(247, 17, 18, 20%) #f7111233  
rgb(247, 17, 18, 40%) #f711124C  
rgb(247, 17, 18, 60%) #f7111299  
rgb(247, 17, 18, 80%) #f71112CC  
rgb(247, 17, 18, 100%) #f71112FF  

Saturated and desaturated colors of #f71112

HSL Code Preview
hsl(360, 10%, 52%)  
hsl(360, 20%, 52%)  
hsl(360, 40%, 52%)  
hsl(360, 60%, 52%)  
hsl(360, 80%, 52%)  
hsl(360, 100%, 52%)  

#f71112 Color Usage In CSS

 body {
    color: #f71112;
    }
 p {
    color: rgb(247, 17, 18);
    }
 header {
    border-bottom:1px solid #f71112;
    }
Recent Random Colors