How to use the rgb function from color
Find comprehensive JavaScript color.rgb code examples handpicked from public code repositorys.
749 750 751 752 753 754 755 756 757 758
/* Either get the values for a space or set the values for a space, depending on args */ Converter.prototype.routeSpace = function(space, args) { var values = args[0]; if (values === undefined) { // color.rgb() return this.getValues(space); } // color.rgb(10, 10, 10) if (typeof values == "number") {
0
1
1
+ 3 other calls in file