pushed code out to palette class/file and now use SDL_Color typedef