@deltares/fews-web-oc-charts
Version:
FEWS Chart Library
8 lines (7 loc) • 319 B
TypeScript
/**
* Sets the alpha value for a given color supporting alpha channels.
* @param color - The color to modify.
* @param alpha - The alpha value to set (between 0 and 1).
* @returns The modified color with the specified alpha value.
*/
export declare function setAlphaForColor(color: string, alpha: number): string;