This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $color = {}; | |
(function () { | |
function Lab (l, a, b) { this.l = l; this.a = a; this.b = b; } | |
$color.Lab = function (l,a,b) { return new Lab(l,a,b); }; | |
function XYZ (x, y, z) { this.x = x; this.y = y; this.z = z; } | |
$color.XYZ = function (l,a,b) { return new XYZ(x, y, z); }; | |
function sRGBLinear (r, g, b) { this.r = r; this.g = g; this.b = b; } | |
$color.sRGBLinear = function (r,g,b) { return new sRGBLinear(r,g,b); }; |