Random Color Generator

#fa312e Color

Color Codes
Hex Code #fa312e
RGB Code rgb(250, 49, 46)
HSL Code hsl(1, 95%, 58%)

#fa312e Color Syntax

rgb()

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

 main {
    background-color: rgb(250, 49, 46);
   }

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(1, 95%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(250, 49, 46, 10%) #fa312e1a  
rgb(250, 49, 46, 20%) #fa312e33  
rgb(250, 49, 46, 40%) #fa312e4C  
rgb(250, 49, 46, 60%) #fa312e99  
rgb(250, 49, 46, 80%) #fa312eCC  
rgb(250, 49, 46, 100%) #fa312eFF  

Saturated and desaturated colors of #fa312e

HSL Code Preview
hsl(1, 10%, 58%)  
hsl(1, 20%, 58%)  
hsl(1, 40%, 58%)  
hsl(1, 60%, 58%)  
hsl(1, 80%, 58%)  
hsl(1, 100%, 58%)  

#fa312e Color Usage In CSS

 body {
    color: #fa312e;
    }
 p {
    color: rgb(250, 49, 46);
    }
 header {
    border-bottom:1px solid #fa312e;
    }
Recent Random Colors