Random Color Generator

#fc42d0 Color

Color Codes
Hex Code #fc42d0
RGB Code rgb(252, 66, 208)
HSL Code hsl(314, 97%, 62%)

#fc42d0 Color Syntax

rgb()

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

 main {
    background-color: rgb(252, 66, 208);
   }

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(314, 97%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(252, 66, 208, 10%) #fc42d01a  
rgb(252, 66, 208, 20%) #fc42d033  
rgb(252, 66, 208, 40%) #fc42d04C  
rgb(252, 66, 208, 60%) #fc42d099  
rgb(252, 66, 208, 80%) #fc42d0CC  
rgb(252, 66, 208, 100%) #fc42d0FF  

Saturated and desaturated colors of #fc42d0

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

#fc42d0 Color Usage In CSS

 body {
    color: #fc42d0;
    }
 p {
    color: rgb(252, 66, 208);
    }
 header {
    border-bottom:1px solid #fc42d0;
    }
Recent Random Colors