Native Processing allows you to get a color's channel-value in two ways:    1) red(r,g,b,a);     2) red(color(r,g,b,a));    So I added the function verifyColor() and called it from red(), green(), blue() and alpha() to make sure Processing.js conforms with the standard behavior.
Native Processing allows you to get a color's channel-value in two ways:    1) red(r,g,b,a);     2) red(color(r,g,b,a));    So I added the function verifyColor() and called it from red(), green(), blue() and alpha() to make sure Processing.js conforms with the standard behavior.

Signed-off-by: John Resig <4fe5c7155cbd2f81ef2590764d1a32bc72844862@gmail.com>
guazipi/processing-js,baiyanghese/processing-js,dhodgin/processing-js,corbanbrook/processing-js,corbanbrook/processing-js,jeresig/processing-js,dhodgin/processing-js,edsfault/Edsfault-processing.js,edsfault/Edsfault-processing.js,kevinb7/processing-js,annasob/processing-js,annasob/processing-js,kevinb7/processing-js,corbanbrook/processing-js,jaredly/processing-js,guazipi/processing-js,edsfault/Edsfault-processing.js,baiyanghese/processing-js,annasob/processing-js,jeresig/processing-js,jaredly/processing-js