This message is generated when the indicated value of the ColorFunction option leads to color or gray-level directives that are not all of the same type.
Off[message] switches off the message; On[message] switches it on. For example: Off[General::colfun1].