use color.pal first, then fallback palette in color.js