ChooseColor: Set Graphic Color

Description

A GUI for selecting a graphic color.

Usage

1
ChooseColor(col, parent = NULL)

Arguments

col

character; the initial color, see ‘Value’.

parent

tkwin; the GUI parent window.

Value

Returns a selected color in terms of its RGB components with a string of the form "#RRGGBB" where each of the pairs RR, GG, BB consist of two hexadecimal digits giving a value in the range 00 to FF.

Author(s)

J.C. Fisher

See Also

col2rgb

Examples

1
## Not run: ChooseColor(col = "#669933")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.