Random Color Generator

#f86fdc Color

Color Codes
Hex Code #f86fdc
RGB Code rgb(248, 111, 220)
HSL Code hsl(312, 91%, 70%)

#f86fdc Color Syntax

rgb()

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

 main {
    background-color: rgb(248, 111, 220);
   }

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, 91%, 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 #f86fdc

RGB Code Hex Code Preview
rgb(248, 111, 220, 10%) #f86fdc1a  
rgb(248, 111, 220, 20%) #f86fdc33  
rgb(248, 111, 220, 40%) #f86fdc4C  
rgb(248, 111, 220, 60%) #f86fdc99  
rgb(248, 111, 220, 80%) #f86fdcCC  
rgb(248, 111, 220, 100%) #f86fdcFF  

Saturated and desaturated colors of #f86fdc

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

#f86fdc Color Usage In CSS

 body {
    color: #f86fdc;
    }
 p {
    color: rgb(248, 111, 220);
    }
 header {
    border-bottom:1px solid #f86fdc;
    }
Recent Random Colors