Copyright 2016 Dean Attali and Cory LaViska. Licensed under the MIT license.
This is a jQuery plugin that creates a colour picker from an input field. It is a fork of another plugin with many modifications made to make it more suited to integrate with Shiny and to add some useful features.
This plugin works for IE8+, Chrome, Firefox, mobile, and should work for all other major browsers.
Modified plugin is being used in shinyjs - an R package for easily performing JavaScript operations in shiny applications.
The index.html
page contains very basic examples of how to use this plugin.
Colour input being used in a shiny application, with the "showColour" and "allowTransparency" features: here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.