Random Color Generator

#f66171 Color

Color Codes
Hex Code #f66171
RGB Code rgb(246, 97, 113)
HSL Code hsl(354, 89%, 67%)

#f66171 Color Syntax

rgb()

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

 main {
    background-color: rgb(246, 97, 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(354, 89%, 67%);
  }

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

RGB Code Hex Code Preview
rgb(246, 97, 113, 10%) #f661711a  
rgb(246, 97, 113, 20%) #f6617133  
rgb(246, 97, 113, 40%) #f661714C  
rgb(246, 97, 113, 60%) #f6617199  
rgb(246, 97, 113, 80%) #f66171CC  
rgb(246, 97, 113, 100%) #f66171FF  

Saturated and desaturated colors of #f66171

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

#f66171 Color Usage In CSS

 body {
    color: #f66171;
    }
 p {
    color: rgb(246, 97, 113);
    }
 header {
    border-bottom:1px solid #f66171;
    }
Recent Random Colors