UNPKG

@deltares/fews-web-oc-charts

Version:
8 lines (7 loc) 319 B
/** * 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;