Sets the custom-palette-color callback on the paint functions struct.
A paint functions struct
The custom-palette-color callback
Sets the custom-palette-color callback on the paint functions struct.