Random Color Generator

#f2a46b Color

Color Codes
Hex Code #f2a46b
RGB Code rgb(242, 164, 107)
HSL Code hsl(25, 84%, 68%)

#f2a46b Color Syntax

rgb()

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

 main {
    background-color: rgb(242, 164, 107);
   }

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(25, 84%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(242, 164, 107, 10%) #f2a46b1a  
rgb(242, 164, 107, 20%) #f2a46b33  
rgb(242, 164, 107, 40%) #f2a46b4C  
rgb(242, 164, 107, 60%) #f2a46b99  
rgb(242, 164, 107, 80%) #f2a46bCC  
rgb(242, 164, 107, 100%) #f2a46bFF  

Saturated and desaturated colors of #f2a46b

HSL Code Preview
hsl(25, 10%, 68%)  
hsl(25, 20%, 68%)  
hsl(25, 40%, 68%)  
hsl(25, 60%, 68%)  
hsl(25, 80%, 68%)  
hsl(25, 100%, 68%)  

#f2a46b Color Usage In CSS

 body {
    color: #f2a46b;
    }
 p {
    color: rgb(242, 164, 107);
    }
 header {
    border-bottom:1px solid #f2a46b;
    }
Recent Random Colors