GcColor version 1.0.3 (updated on: 2009-03-05)

About

GcColor is a remake of Stefan Petre's jQuery colorpicker plug-in. Main purpose of rewriting this plug-in was a diferent ideology of plug-in's architecture.

  1. Stefan's plug-in created multiple DOM instances of colorpicker dialog in page (one dialog per input element).
  2. I could not get direct link back to callee element without knowing it's ID.
  3. The HSB to RGB calculation's had some bug where calculation from HEX color value to RGB, then to HSB, then back to RGB and then back to HEX gave diferent value from initial HEX value (for example #431313 showed up as #421212). This one was mostly fault of JavaScript floating point calculations, so i tried some other algorythms here and wrote it down from this one.

For now the plugin only support slide-down interface, but in the future I hope to make flat mode

Download

Older releases

Demo

Requirements

Options explained

Usage

$('input.color').gccolor();
			

Change Log

ToDo

Valid XHTML 1.0 Strict Valid CSS!