Random Color Generator

#f06a5a Color

Color Codes
Hex Code #f06a5a
RGB Code rgb(240, 106, 90)
HSL Code hsl(6, 83%, 65%)

#f06a5a Color Syntax

rgb()

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

 main {
    background-color: rgb(240, 106, 90);
   }

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(6, 83%, 65%);
  }

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

RGB Code Hex Code Preview
rgb(240, 106, 90, 10%) #f06a5a1a  
rgb(240, 106, 90, 20%) #f06a5a33  
rgb(240, 106, 90, 40%) #f06a5a4C  
rgb(240, 106, 90, 60%) #f06a5a99  
rgb(240, 106, 90, 80%) #f06a5aCC  
rgb(240, 106, 90, 100%) #f06a5aFF  

Saturated and desaturated colors of #f06a5a

HSL Code Preview
hsl(6, 10%, 65%)  
hsl(6, 20%, 65%)  
hsl(6, 40%, 65%)  
hsl(6, 60%, 65%)  
hsl(6, 80%, 65%)  
hsl(6, 100%, 65%)  

#f06a5a Color Usage In CSS

 body {
    color: #f06a5a;
    }
 p {
    color: rgb(240, 106, 90);
    }
 header {
    border-bottom:1px solid #f06a5a;
    }
Recent Random Colors