Set Graphic Color

Share:

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")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.