Random Color Generator

#f2f1f7 Color

Color Codes
Hex Code #f2f1f7
RGB Code rgb(242, 241, 247)
HSL Code hsl(250, 27%, 96%)

#f2f1f7 Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 241, 247);
   }

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(250, 27%, 96%);
  }

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

RGB Code Hex Code Preview
rgb(242, 241, 247, 10%) #f2f1f71a  
rgb(242, 241, 247, 20%) #f2f1f733  
rgb(242, 241, 247, 40%) #f2f1f74C  
rgb(242, 241, 247, 60%) #f2f1f799  
rgb(242, 241, 247, 80%) #f2f1f7CC  
rgb(242, 241, 247, 100%) #f2f1f7FF  

Saturated and desaturated colors of #f2f1f7

HSL Code Preview
hsl(250, 10%, 96%)  
hsl(250, 20%, 96%)  
hsl(250, 40%, 96%)  
hsl(250, 60%, 96%)  
hsl(250, 80%, 96%)  
hsl(250, 100%, 96%)  

#f2f1f7 Color Usage In CSS

 body {
    color: #f2f1f7;
    }
 p {
    color: rgb(242, 241, 247);
    }
 header {
    border-bottom:1px solid #f2f1f7;
    }
Recent Random Colors