This finds out wich colors the bitmap bitmap contains (except for color 0) and returns the values as a sequence.
bitmap must be a plain 8-bit bitmap (not a poked bitmap).