Assert on color middleware.