RSurvey (version 0.9.3)

ChooseColor: GUI: Color Picker

Description

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

Usage

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.

See Also

col2rgb

Examples

Run this code
# NOT RUN {
  ChooseColor(col = "#669933")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab