color.js

Displays a color picker.

Objects

OAT.Color()

Instantiates OAT.Color object.

Methods

OAT.Color::pick(x, y, callback)

Shows the picker at [x, y]. When user picks a color, callback(color) function is called. Color format is #rgb.

CategoryDocumentation CategoryOAT CategoryOpenSource