If Firefox appears in 8-bit color mode, right click on the Firefox icon, then click "properties". Inside "properties", select the "compatibility" mode. Then, check the option that says "256-bit color", then click "apply".