the silica content affects the type of explosion in a volcano: explosive or quiet. depending on hte explosion the lava can take more time to harden. in that time the igneous rock can trap several things in the lava and those things can affect the color.