Random Color Generator

#f8731a Color

Color Codes
Hex Code #f8731a
RGB Code rgb(248, 115, 26)
HSL Code hsl(24, 94%, 54%)

#f8731a Color Syntax

rgb()

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

 main {
    background-color: rgb(248, 115, 26);
   }

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(24, 94%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(248, 115, 26, 10%) #f8731a1a  
rgb(248, 115, 26, 20%) #f8731a33  
rgb(248, 115, 26, 40%) #f8731a4C  
rgb(248, 115, 26, 60%) #f8731a99  
rgb(248, 115, 26, 80%) #f8731aCC  
rgb(248, 115, 26, 100%) #f8731aFF  

Saturated and desaturated colors of #f8731a

HSL Code Preview
hsl(24, 10%, 54%)  
hsl(24, 20%, 54%)  
hsl(24, 40%, 54%)  
hsl(24, 60%, 54%)  
hsl(24, 80%, 54%)  
hsl(24, 100%, 54%)  

#f8731a Color Usage In CSS

 body {
    color: #f8731a;
    }
 p {
    color: rgb(248, 115, 26);
    }
 header {
    border-bottom:1px solid #f8731a;
    }
Recent Random Colors