Random Color Generator

#f87cd6 Color

Color Codes
Hex Code #f87cd6
RGB Code rgb(248, 124, 214)
HSL Code hsl(316, 90%, 73%)

#f87cd6 Color Syntax

rgb()

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

 main {
    background-color: rgb(248, 124, 214);
   }

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(316, 90%, 73%);
  }

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

RGB Code Hex Code Preview
rgb(248, 124, 214, 10%) #f87cd61a  
rgb(248, 124, 214, 20%) #f87cd633  
rgb(248, 124, 214, 40%) #f87cd64C  
rgb(248, 124, 214, 60%) #f87cd699  
rgb(248, 124, 214, 80%) #f87cd6CC  
rgb(248, 124, 214, 100%) #f87cd6FF  

Saturated and desaturated colors of #f87cd6

HSL Code Preview
hsl(316, 10%, 73%)  
hsl(316, 20%, 73%)  
hsl(316, 40%, 73%)  
hsl(316, 60%, 73%)  
hsl(316, 80%, 73%)  
hsl(316, 100%, 73%)  

#f87cd6 Color Usage In CSS

 body {
    color: #f87cd6;
    }
 p {
    color: rgb(248, 124, 214);
    }
 header {
    border-bottom:1px solid #f87cd6;
    }
Recent Random Colors