public static function secondaryColor(color:uint, brite:Number):uint
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Performs a scaled brightness adjustment to an RGB color to get a secondary color used for simple gradients.
Parameters
| color:uint — Original RGB color.
|
|
| brite:Number — The percentage to brighten or darken the original color.
If positive, the original color is brightened toward white
by this percentage. If negative, it is darkened toward black
by this percentage.
The range for this parameter is -100 to 100;
-100 produces black while 100 produces white.
If this parameter is 0, the RGB color returned
is the same as the original color.
|
Returns