When you cast a spell in Ultima 4, the game inverts the
tile colors for a short amount of time. The transition
from normal to inverted (and back) happens suddenly.
Idea for an optional feature:
Make the transition smooth, i.e. the normal colors
gradually fade into the inverted colors.
The transition function doesn't have to be linear.