jPaq Docs - Color.prototype.toGrayscale()

Quick Stats

Target Platforms:  PC (JScript) and the web (JavaScript)
Download Count:  978

Summary

Gets an approximation of the grayscale version of the color.

Returns

Color
Returns an approximation of the grayscale version of this color as a new color object.