UNPKG

@thi.ng/color

Version:

Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets

20 lines 516 B
import type { ColorOp } from "../api.js"; /** * Converts linear RGB to Lab (via XYZ) using {@link D50} white point. * * @remarks * Important: We're using a normalized Lab space w/ all three coordinates * divided by 100 (normalized to 100% luminance). * * @param out - * @param src - */ export declare const rgbLab: ColorOp; /** * Same as {@link rgbLab}, but using {@link D65} white point. * * @param out - * @param src - */ export declare const rgbLabD65: ColorOp; //# sourceMappingURL=rgb-lab.d.ts.map