资 源 简 介
Library routines in ColorUtils to handle color transformations and color gradients. ColorMap class to find a discrete color value from a sliding numeric range.
| |
|:-|
| *blend*( Color color) Return a color that blends into the background. |
| *blend*( Color color, double alpha) Return a color that blends into the background. |
| *blendBlackOrWhite*( Color color) Returns a mix of color and black or white, whichever has the higher contrast to color. |
| *blendBlackOrWhite*( Color color, double alpha) Returns a mix of color and black or white, whichever has the higher contrast to color. |
| *color2Hex*( Color color) Converts a Color object to a hex String representation. |
| *contrast*( Color color) Returns a color that has the highest possible contrast to the input color. |
| *contrast*( Color color, double alpha) Returns a color that has the highest possible contrast to