ChooseColor: GUI: Color Picker

Description Usage Arguments Value Author(s) See Also Examples

Description

A graphical user interface (GUI) for selecting a color.

Usage

1
ChooseColor(col, parent = NULL)

Arguments

col

character. Initial color, see ‘Value’ section

parent

tkwin. GUI parent window

Value

Returns a selected color in terms of its RGB components, 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, U.S. Geological Survey, Idaho Water Science Center

See Also

col2rgb

Examples

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

## End(Not run)

USGS-R/RSurvey documentation built on May 9, 2019, 6:10 p.m.