Random Color Generator

#fc314c Color

Color Codes
Hex Code #fc314c
RGB Code rgb(252, 49, 76)
HSL Code hsl(352, 97%, 59%)

#fc314c Color Syntax

rgb()

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

 main {
    background-color: rgb(252, 49, 76);
   }

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(352, 97%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(252, 49, 76, 10%) #fc314c1a  
rgb(252, 49, 76, 20%) #fc314c33  
rgb(252, 49, 76, 40%) #fc314c4C  
rgb(252, 49, 76, 60%) #fc314c99  
rgb(252, 49, 76, 80%) #fc314cCC  
rgb(252, 49, 76, 100%) #fc314cFF  

Saturated and desaturated colors of #fc314c

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

#fc314c Color Usage In CSS

 body {
    color: #fc314c;
    }
 p {
    color: rgb(252, 49, 76);
    }
 header {
    border-bottom:1px solid #fc314c;
    }
Recent Random Colors