Thanks, now it's done :) EGA palette is peculiar and very challenging to use; you really pushed it to the limit!