UNPKG

color-blend

Version:

Blends RGBA colors with different blend modes

10 lines 433 B
import { ChannelBlender, RGB, RGBA } from './types'; /** * Blend two colors in a separable way (i.e. each color channel individually) * * @param backdrop The RGBA backdrop color * @param source The RGBA source color * @param callback The blend mode callback to apply */ export default function separableBlend(backdrop: RGBA, source: RGBA, callback: ChannelBlender): RGB; //# sourceMappingURL=separable-blend.d.ts.map