Random Color Generator

#f01444 Color

Color Codes
Hex Code #f01444
RGB Code rgb(240, 20, 68)
HSL Code hsl(347, 88%, 51%)

#f01444 Color Syntax

rgb()

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

 main {
    background-color: rgb(240, 20, 68);
   }

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, 88%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(240, 20, 68, 10%) #f014441a  
rgb(240, 20, 68, 20%) #f0144433  
rgb(240, 20, 68, 40%) #f014444C  
rgb(240, 20, 68, 60%) #f0144499  
rgb(240, 20, 68, 80%) #f01444CC  
rgb(240, 20, 68, 100%) #f01444FF  

Saturated and desaturated colors of #f01444

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

#f01444 Color Usage In CSS

 body {
    color: #f01444;
    }
 p {
    color: rgb(240, 20, 68);
    }
 header {
    border-bottom:1px solid #f01444;
    }
Recent Random Colors