colour transform clean up