UNPKG

@thi.ng/color

Version:

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

16 lines 505 B
import { type SRGB } from "../srgb/srgb.js"; /** * @remarks * Based on: * * - https://github.com/neilbartlett/color-temperature/blob/develop/index.js * - http://www.zombieprototypes.com/?p=210 * * Uses adjusted coefficients to produce normalized sRGB values. * * @param out - result * @param kelvin - color temperature * @param alpha - target alpha channel */ export declare const kelvinRgb: (out: SRGB | null, kelvin: number, alpha?: number) => SRGB; //# sourceMappingURL=kelvin-rgba.d.ts.map