Random Color Generator

#f70cfe Color

Color Codes
Hex Code #f70cfe
RGB Code rgb(247, 12, 254)
HSL Code hsl(298, 99%, 52%)

#f70cfe Color Syntax

rgb()

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

 main {
    background-color: rgb(247, 12, 254);
   }

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(298, 99%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(247, 12, 254, 10%) #f70cfe1a  
rgb(247, 12, 254, 20%) #f70cfe33  
rgb(247, 12, 254, 40%) #f70cfe4C  
rgb(247, 12, 254, 60%) #f70cfe99  
rgb(247, 12, 254, 80%) #f70cfeCC  
rgb(247, 12, 254, 100%) #f70cfeFF  

Saturated and desaturated colors of #f70cfe

HSL Code Preview
hsl(298, 10%, 52%)  
hsl(298, 20%, 52%)  
hsl(298, 40%, 52%)  
hsl(298, 60%, 52%)  
hsl(298, 80%, 52%)  
hsl(298, 100%, 52%)  

#f70cfe Color Usage In CSS

 body {
    color: #f70cfe;
    }
 p {
    color: rgb(247, 12, 254);
    }
 header {
    border-bottom:1px solid #f70cfe;
    }
Recent Random Colors