JavaScript APIuiNamespacesinputFunctionscolorOn this pagecolor() color(name, options?): InputBase<string> Parameters ParameterTypenamestringoptions?IInputInitOptions<string> Returns InputBase<string> Source ui.ts:935