Random Color Generator

#f8d2dd Color

Color Codes
Hex Code #f8d2dd
RGB Code rgb(248, 210, 221)
HSL Code hsl(343, 73%, 90%)

#f8d2dd Color Syntax

rgb()

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

 main {
    background-color: rgb(248, 210, 221);
   }

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

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

RGB Code Hex Code Preview
rgb(248, 210, 221, 10%) #f8d2dd1a  
rgb(248, 210, 221, 20%) #f8d2dd33  
rgb(248, 210, 221, 40%) #f8d2dd4C  
rgb(248, 210, 221, 60%) #f8d2dd99  
rgb(248, 210, 221, 80%) #f8d2ddCC  
rgb(248, 210, 221, 100%) #f8d2ddFF  

Saturated and desaturated colors of #f8d2dd

HSL Code Preview
hsl(343, 10%, 90%)  
hsl(343, 20%, 90%)  
hsl(343, 40%, 90%)  
hsl(343, 60%, 90%)  
hsl(343, 80%, 90%)  
hsl(343, 100%, 90%)  

#f8d2dd Color Usage In CSS

 body {
    color: #f8d2dd;
    }
 p {
    color: rgb(248, 210, 221);
    }
 header {
    border-bottom:1px solid #f8d2dd;
    }
Recent Random Colors