Learn R Programming

RPMG (version 2.2-7)

colwheel: Choose rgb from a color rectangle

Description

Shows and image of colors and allows one to choose a color and see what it looks like in swath with different backgrounds.

Usage

colwheel(v = 1, BACK = "black")

Value

vector of RGB colors in hex format.

Arguments

v

v, from hsv color scheme

BACK

starting background color

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

hsv, VVwheel, wheelrgb, SHOWPAL.A

Examples

Run this code

if (FALSE) {
colwheel(v = 1, BACK = "black")

colwheel(v = 1, BACK = "white")
}

Run the code above in your browser using DataLab