callback

abstract var callback: dynamic

Callback invoked for each color.

Receives the attribute, the color string, the parsed color or null, and, for colors in elements, the tag name and element. Return a new color, "unset" to remove the attribute, or "remove" to remove the shape or rule.