Random Color Generator

#fc45d7 Color

Color Codes
Hex Code #fc45d7
RGB Code rgb(252, 69, 215)
HSL Code hsl(312, 97%, 63%)

#fc45d7 Color Syntax

rgb()

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

 main {
    background-color: rgb(252, 69, 215);
   }

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(312, 97%, 63%);
  }

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

RGB Code Hex Code Preview
rgb(252, 69, 215, 10%) #fc45d71a  
rgb(252, 69, 215, 20%) #fc45d733  
rgb(252, 69, 215, 40%) #fc45d74C  
rgb(252, 69, 215, 60%) #fc45d799  
rgb(252, 69, 215, 80%) #fc45d7CC  
rgb(252, 69, 215, 100%) #fc45d7FF  

Saturated and desaturated colors of #fc45d7

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

#fc45d7 Color Usage In CSS

 body {
    color: #fc45d7;
    }
 p {
    color: rgb(252, 69, 215);
    }
 header {
    border-bottom:1px solid #fc45d7;
    }
Recent Random Colors