Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

colorui - Interactively define RGB color

Syntax

c = colorui
c = colorui(InitClr)
c = colorui(InitClr,FigTitle)

Description

c = colorui will create an interface for the definition of an RGB color triplet. On Windows platforms, colorui will produce the same interface as uisetcolor. On other machines, colorui produces a platform-independent dialog for specifying the color values.

c = colorui(InitClr) will initialize the color value to the RGB triple given in initclr.

c = colorui(InitClr,FigTitle) will use the string in FigTitle as the window label.

The output value c is the selected RGB triple if the Accept or OK button is pushed. If the user presses Cancel, then the output value is set to 0.

See Also

uisetcolor

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS