7 lines
188 B
Plaintext
7 lines
188 B
Plaintext
/**
|
|
* Returns black or white for best contrast depending on the luminosity of the
|
|
* given color.
|
|
*/
|
|
declare function readableColor(color: string): string;
|
|
export default readableColor;
|