Random Color Generator

#fa0049 Color

Color Codes
Hex Code #fa0049
RGB Code rgb(250, 00, 73)
HSL Code hsl(342, 100%, 49%)

#fa0049 Color Syntax

rgb()

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

 main {
    background-color: rgb(250, 00, 73);
   }

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(342, 100%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(250, 00, 73, 10%) #fa00491a  
rgb(250, 00, 73, 20%) #fa004933  
rgb(250, 00, 73, 40%) #fa00494C  
rgb(250, 00, 73, 60%) #fa004999  
rgb(250, 00, 73, 80%) #fa0049CC  
rgb(250, 00, 73, 100%) #fa0049FF  

Saturated and desaturated colors of #fa0049

HSL Code Preview
hsl(342, 10%, 49%)  
hsl(342, 20%, 49%)  
hsl(342, 40%, 49%)  
hsl(342, 60%, 49%)  
hsl(342, 80%, 49%)  
hsl(342, 100%, 49%)  

#fa0049 Color Usage In CSS

 body {
    color: #fa0049;
    }
 p {
    color: rgb(250, 00, 73);
    }
 header {
    border-bottom:1px solid #fa0049;
    }
Recent Random Colors