Random Color Generator

#f0555b Color

Color Codes
Hex Code #f0555b
RGB Code rgb(240, 85, 91)
HSL Code hsl(358, 84%, 64%)

#f0555b Color Syntax

rgb()

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

 main {
    background-color: rgb(240, 85, 91);
   }

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(358, 84%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(240, 85, 91, 10%) #f0555b1a  
rgb(240, 85, 91, 20%) #f0555b33  
rgb(240, 85, 91, 40%) #f0555b4C  
rgb(240, 85, 91, 60%) #f0555b99  
rgb(240, 85, 91, 80%) #f0555bCC  
rgb(240, 85, 91, 100%) #f0555bFF  

Saturated and desaturated colors of #f0555b

HSL Code Preview
hsl(358, 10%, 64%)  
hsl(358, 20%, 64%)  
hsl(358, 40%, 64%)  
hsl(358, 60%, 64%)  
hsl(358, 80%, 64%)  
hsl(358, 100%, 64%)  

#f0555b Color Usage In CSS

 body {
    color: #f0555b;
    }
 p {
    color: rgb(240, 85, 91);
    }
 header {
    border-bottom:1px solid #f0555b;
    }
Recent Random Colors