Creates a more dark version of the specified color by darken it by a percentage.
int ColorDarken(int argb; int percentage)
argb |
Color represented as a 32-bit integer. |
percentage |
The percentage to darken the color by. |
Example
ColorDarken(ColorFromArgb(255; 0; 100; 255); 20)
Darkens each component of R, G and B with 51 (20% of 255) and returns the resulting color i.e. argb(255, 0, 49, 204).