@thi.ng/color
Version:
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
14 lines • 492 B
TypeScript
import type { Color, TypedColor } from "./api.js";
/**
* Adjust the "lightness" (luma, brightness etc.) channel of given `src` color
* and `delta` offset. Writes result into `out` (or if null, back into `src`).
*
* @remarks
* If `offset` is negative, then color will be darkened.
*
* @param out -
* @param src -
* @param delta -
*/
export declare const lighten: import("@thi.ng/defmulti").MultiFn3<Color | null, TypedColor<any>, number, Color>;
//# sourceMappingURL=lighten.d.ts.map