Documentation

contrast()

Returns a new UIColor with adjusted contrast relative to mid-grey.

contrast(d: number, threshold?: number): UIColor;

Notes

Parameters

Return value

A new UIColor instance.

Related