Learn R Programming

shinyjs (version 0.5.0)

colourPicker: Colour picker gadget

Description

This gadget lets you choose colours easily. You can select multiple colours, and you can either choose any RGB colour, or browse through R colours.

Usage

colourPicker()

Arguments

Value

  • Vector of selected colours

Examples

Run this code
if (interactive()) {
  cols <- colourPicker()
}

Run the code above in your browser using DataLab