onColor

Returns an appropriate color to use for any 'title' text which is displayed over this Swatch's color. This color is guaranteed to have sufficient contrast.

Return

A Color to be used for text over the Swatch's color.

See also