Random Color Generator

#f9a45f Color

Color Codes
Hex Code #f9a45f
RGB Code rgb(249, 164, 95)
HSL Code hsl(27, 93%, 67%)

#f9a45f Color Syntax

rgb()

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

 main {
    background-color: rgb(249, 164, 95);
   }

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(27, 93%, 67%);
  }

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

RGB Code Hex Code Preview
rgb(249, 164, 95, 10%) #f9a45f1a  
rgb(249, 164, 95, 20%) #f9a45f33  
rgb(249, 164, 95, 40%) #f9a45f4C  
rgb(249, 164, 95, 60%) #f9a45f99  
rgb(249, 164, 95, 80%) #f9a45fCC  
rgb(249, 164, 95, 100%) #f9a45fFF  

Saturated and desaturated colors of #f9a45f

HSL Code Preview
hsl(27, 10%, 67%)  
hsl(27, 20%, 67%)  
hsl(27, 40%, 67%)  
hsl(27, 60%, 67%)  
hsl(27, 80%, 67%)  
hsl(27, 100%, 67%)  

#f9a45f Color Usage In CSS

 body {
    color: #f9a45f;
    }
 p {
    color: rgb(249, 164, 95);
    }
 header {
    border-bottom:1px solid #f9a45f;
    }
Recent Random Colors