drawColorKey function

Draw a color key in the current device