Random Color Generator

#f0788c Color

Color Codes
Hex Code #f0788c
RGB Code rgb(240, 120, 140)
HSL Code hsl(350, 80%, 71%)

#f0788c Color Syntax

rgb()

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

 main {
    background-color: rgb(240, 120, 140);
   }

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(350, 80%, 71%);
  }

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

RGB Code Hex Code Preview
rgb(240, 120, 140, 10%) #f0788c1a  
rgb(240, 120, 140, 20%) #f0788c33  
rgb(240, 120, 140, 40%) #f0788c4C  
rgb(240, 120, 140, 60%) #f0788c99  
rgb(240, 120, 140, 80%) #f0788cCC  
rgb(240, 120, 140, 100%) #f0788cFF  

Saturated and desaturated colors of #f0788c

HSL Code Preview
hsl(350, 10%, 71%)  
hsl(350, 20%, 71%)  
hsl(350, 40%, 71%)  
hsl(350, 60%, 71%)  
hsl(350, 80%, 71%)  
hsl(350, 100%, 71%)  

#f0788c Color Usage In CSS

 body {
    color: #f0788c;
    }
 p {
    color: rgb(240, 120, 140);
    }
 header {
    border-bottom:1px solid #f0788c;
    }
Recent Random Colors