function color()
Returns a color reference by name, including custom colors.
function color(name: string): UIColor;
Parameters
- name — The name of the color to get.
Return value
A UIColor instance that resolves to the named color.
Related
namespace UI
A namespace that contains functions for building a declarative UI using view builders.UIColor.getColor() static
Returns a color reference by name.
