Color.getGreen()

<static> getGreen(color) → {number}

Given a native color value (in the format 0xAARRGGBB) this will return the Green component, as a value between 0 and 255.

Parameters
Name Type Description
color number

In the format 0xAARRGGBB.

Returns
number -

The Green component of the color, will be between 0 and 255 (0 being no color, 255 full Green).

Source code: utils/Color.js (Line 966)
doc_phaser
2017-02-14 10:42:00
Comments
Leave a Comment

Please login to continue.