Documentation

namespace UIfunction

function color()

Returns a color reference by name, including custom colors.

function color(name: string): UIColor;

Parameters

Return value

A UIColor instance that resolves to the named color.

Related