Random Color Generator

#f73971 Color

Color Codes
Hex Code #f73971
RGB Code rgb(247, 57, 113)
HSL Code hsl(342, 92%, 60%)

#f73971 Color Syntax

rgb()

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

 main {
    background-color: rgb(247, 57, 113);
   }

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, 92%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(247, 57, 113, 10%) #f739711a  
rgb(247, 57, 113, 20%) #f7397133  
rgb(247, 57, 113, 40%) #f739714C  
rgb(247, 57, 113, 60%) #f7397199  
rgb(247, 57, 113, 80%) #f73971CC  
rgb(247, 57, 113, 100%) #f73971FF  

Saturated and desaturated colors of #f73971

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

#f73971 Color Usage In CSS

 body {
    color: #f73971;
    }
 p {
    color: rgb(247, 57, 113);
    }
 header {
    border-bottom:1px solid #f73971;
    }
Recent Random Colors