g.js — graphical objects for JavaScript

Color

Working with color.

Creating colors

rgbColor / hsbColor / grayColor

Adjusting color

colorize / colorAdjust

darken / lighten

desaturate

invert

Queries on color

colorLookup