Random Color Generator

#fa1b31 Color

Color Codes
Hex Code #fa1b31
RGB Code rgb(250, 27, 49)
HSL Code hsl(354, 96%, 54%)

#fa1b31 Color Syntax

rgb()

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

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

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(354, 96%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(250, 27, 49, 10%) #fa1b311a  
rgb(250, 27, 49, 20%) #fa1b3133  
rgb(250, 27, 49, 40%) #fa1b314C  
rgb(250, 27, 49, 60%) #fa1b3199  
rgb(250, 27, 49, 80%) #fa1b31CC  
rgb(250, 27, 49, 100%) #fa1b31FF  

Saturated and desaturated colors of #fa1b31

HSL Code Preview
hsl(354, 10%, 54%)  
hsl(354, 20%, 54%)  
hsl(354, 40%, 54%)  
hsl(354, 60%, 54%)  
hsl(354, 80%, 54%)  
hsl(354, 100%, 54%)  

#fa1b31 Color Usage In CSS

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