The following information from Galleon shows how to use _NEWIMAGE(x, y, 32) to separate the consol colors while editing image colors.
Quote from Galleon:
I'm going to take a leap of faith at this point and guess you are working on a 256 color image editor where you need to see the image you are editing but also buttons etc in their appropriate palette. I'll go further and assume that the buttons are also created in a 256 color mode with their own unique palette. The solution is storing (and editing) these as 256 color images but displaying them on a 32-bit screen as they are being edited, like so:
SCREEN _NEWIMAGE(800, 600, 32)
c = _LOADIMAGE("f:\backgroundconsole.bmp", 256)
i = _LOADIMAGE("f:\my256col.bmp", 256)
_PUTIMAGE , c
_PUTIMAGE (10, 10), i
Yes, you can _PUTIMAGE a 256 color image onto a 32-bit image. When the user edits the screen, just use _DEST & _SOURCE to redirect output to image i and update the screen again. END Quote
It only requires you to create a bitmap of the console.