An open API service indexing awesome lists of open source software.

https://github.com/chalarangelo/simple-color-picker

A tiny, hackable color picker component.
https://github.com/chalarangelo/simple-color-picker

Last synced: 9 months ago
JSON representation

A tiny, hackable color picker component.

Awesome Lists containing this project

README

          

# Simple color picker
A tiny, hackable color picker component.

[![Preview](/preview.PNG)](https://codepen.io/chalarangelo/pen/BxwLmL)

## Usage

1. Copy the JavaScript and CSS files from the [`/src`](/src) folder to your website or page.
2. Create a `

` element. Be sure to give it an `id`.
3. Call the `colorPickerInitialize()` method with the `id` of your `
` element.
4. All set up! You can now preview any color or valid `background` value in your color picker.

## Compatibility

Should be compatible with pretty much everything. Has been tested with Bootstrap.

## License

Licensed under the [MIT License](/LICENSE).