11 lines
345 B
Plaintext
11 lines
345 B
Plaintext
/**
|
|
* Adjusts the current hue of the color by the given degrees. Wraps around when
|
|
* over 360.
|
|
*
|
|
* @param color input color
|
|
* @param degrees degrees to adjust the input color, accepts degree integers
|
|
* (0 - 360) and wraps around on overflow
|
|
*/
|
|
declare function adjustHue(color: string, degrees: number): string;
|
|
export default adjustHue;
|