added color[0-9] variable patch (thanks jieryn)