Random Color Generator

#f56fc8 Color

Color Codes
Hex Code #f56fc8
RGB Code rgb(245, 111, 200)
HSL Code hsl(320, 87%, 70%)

#f56fc8 Color Syntax

rgb()

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

 main {
    background-color: rgb(245, 111, 200);
   }

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(320, 87%, 70%);
  }

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

RGB Code Hex Code Preview
rgb(245, 111, 200, 10%) #f56fc81a  
rgb(245, 111, 200, 20%) #f56fc833  
rgb(245, 111, 200, 40%) #f56fc84C  
rgb(245, 111, 200, 60%) #f56fc899  
rgb(245, 111, 200, 80%) #f56fc8CC  
rgb(245, 111, 200, 100%) #f56fc8FF  

Saturated and desaturated colors of #f56fc8

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

#f56fc8 Color Usage In CSS

 body {
    color: #f56fc8;
    }
 p {
    color: rgb(245, 111, 200);
    }
 header {
    border-bottom:1px solid #f56fc8;
    }
Recent Random Colors