227 lines
9.6 KiB
JavaScript
227 lines
9.6 KiB
JavaScript
// Color space definitions
|
|
export { default as modeA98 } from './a98/definition.js';
|
|
export { default as modeCubehelix } from './cubehelix/definition.js';
|
|
export { default as modeDlab } from './dlab/definition.js';
|
|
export { default as modeDlch } from './dlch/definition.js';
|
|
export { default as modeHsi } from './hsi/definition.js';
|
|
export { default as modeHsl } from './hsl/definition.js';
|
|
export { default as modeHsv } from './hsv/definition.js';
|
|
export { default as modeHwb } from './hwb/definition.js';
|
|
export { default as modeJab } from './jab/definition.js';
|
|
export { default as modeJch } from './jch/definition.js';
|
|
export { default as modeLab } from './lab/definition.js';
|
|
export { default as modeLab65 } from './lab65/definition.js';
|
|
export { default as modeLch } from './lch/definition.js';
|
|
export { default as modeLch65 } from './lch65/definition.js';
|
|
export { default as modeLchuv } from './lchuv/definition.js';
|
|
export { default as modeLrgb } from './lrgb/definition.js';
|
|
export { default as modeLuv } from './luv/definition.js';
|
|
export { default as modeOkhsl } from './okhsl/modeOkhsl.js';
|
|
export { default as modeOkhsv } from './okhsv/modeOkhsv.js';
|
|
export { default as modeOklab } from './oklab/definition.js';
|
|
export { default as modeOklch } from './oklch/definition.js';
|
|
export { default as modeP3 } from './p3/definition.js';
|
|
export { default as modeProphoto } from './prophoto/definition.js';
|
|
export { default as modeRec2020 } from './rec2020/definition.js';
|
|
export { default as modeRgb } from './rgb/definition.js';
|
|
export { default as modeXyb } from './xyb/definition.js';
|
|
export { default as modeXyz50 } from './xyz50/definition.js';
|
|
export { default as modeXyz65 } from './xyz65/definition.js';
|
|
export { default as modeYiq } from './yiq/definition.js';
|
|
|
|
export { default as converter } from './converter.js';
|
|
|
|
export {
|
|
serializeHex,
|
|
serializeHex8,
|
|
serializeRgb,
|
|
serializeHsl,
|
|
formatHex,
|
|
formatHex8,
|
|
formatRgb,
|
|
formatHsl,
|
|
formatCss
|
|
} from './formatter.js';
|
|
|
|
export { default as colorsNamed } from './colors/named.js';
|
|
export { default as blend } from './blend.js';
|
|
export { default as random } from './random.js';
|
|
|
|
export {
|
|
fixupHueShorter,
|
|
fixupHueLonger,
|
|
fixupHueIncreasing,
|
|
fixupHueDecreasing
|
|
} from './fixup/hue.js';
|
|
|
|
export { fixupAlpha } from './fixup/alpha.js';
|
|
|
|
export {
|
|
mapper,
|
|
mapAlphaMultiply,
|
|
mapAlphaDivide,
|
|
mapTransferLinear,
|
|
mapTransferGamma
|
|
} from './map.js';
|
|
|
|
export { average, averageAngle, averageNumber } from './average.js';
|
|
|
|
export { default as round } from './round.js';
|
|
export {
|
|
interpolate,
|
|
interpolateWith,
|
|
interpolateWithPremultipliedAlpha
|
|
} from './interpolate/interpolate.js';
|
|
|
|
export { interpolatorLinear } from './interpolate/linear.js';
|
|
|
|
export { interpolatorPiecewise } from './interpolate/piecewise.js';
|
|
|
|
export {
|
|
interpolatorSplineBasis,
|
|
interpolatorSplineBasisClosed
|
|
} from './interpolate/splineBasis.js';
|
|
|
|
export {
|
|
interpolatorSplineNatural,
|
|
interpolatorSplineNaturalClosed
|
|
} from './interpolate/splineNatural.js';
|
|
|
|
export {
|
|
interpolatorSplineMonotone,
|
|
interpolatorSplineMonotone2,
|
|
interpolatorSplineMonotoneClosed
|
|
} from './interpolate/splineMonotone.js';
|
|
|
|
export { lerp, unlerp, blerp, trilerp } from './interpolate/lerp.js';
|
|
export { default as samples } from './samples.js';
|
|
export {
|
|
displayable,
|
|
inGamut,
|
|
clampRgb,
|
|
clampChroma,
|
|
clampGamut,
|
|
toGamut
|
|
} from './clamp.js';
|
|
export { default as nearest } from './nearest.js';
|
|
export { useMode, getMode, useParser, removeParser } from './modes.js';
|
|
export { default as parse } from './parse.js';
|
|
|
|
export {
|
|
differenceEuclidean,
|
|
differenceCie76,
|
|
differenceCie94,
|
|
differenceCiede2000,
|
|
differenceCmc,
|
|
differenceHyab,
|
|
differenceHueSaturation,
|
|
differenceHueChroma,
|
|
differenceHueNaive,
|
|
differenceKotsarenkoRamos
|
|
} from './difference.js';
|
|
|
|
export {
|
|
filterBrightness,
|
|
filterContrast,
|
|
filterSepia,
|
|
filterInvert,
|
|
filterSaturate,
|
|
filterGrayscale,
|
|
filterHueRotate
|
|
} from './filter.js';
|
|
|
|
export {
|
|
filterDeficiencyProt,
|
|
filterDeficiencyDeuter,
|
|
filterDeficiencyTrit
|
|
} from './deficiency.js';
|
|
|
|
// Easings
|
|
export { default as easingMidpoint } from './easing/midpoint.js';
|
|
export {
|
|
easingSmoothstep,
|
|
easingSmoothstepInverse
|
|
} from './easing/smoothstep.js';
|
|
export { default as easingSmootherstep } from './easing/smootherstep.js';
|
|
export { default as easingInOutSine } from './easing/inOutSine.js';
|
|
export { default as easingGamma } from './easing/gamma.js';
|
|
|
|
export {
|
|
luminance as wcagLuminance,
|
|
contrast as wcagContrast
|
|
} from './wcag.js';
|
|
|
|
export { default as parseHsl } from './hsl/parseHsl.js';
|
|
export { default as parseHwb } from './hwb/parseHwb.js';
|
|
export { default as parseLab } from './lab/parseLab.js';
|
|
export { default as parseLch } from './lch/parseLch.js';
|
|
export { default as parseNamed } from './rgb/parseNamed.js';
|
|
export { default as parseTransparent } from './rgb/parseTransparent.js';
|
|
export { default as parseHex } from './rgb/parseHex.js';
|
|
export { default as parseRgb } from './rgb/parseRgb.js';
|
|
export { default as parseHslLegacy } from './hsl/parseHslLegacy.js';
|
|
export { default as parseRgbLegacy } from './rgb/parseRgbLegacy.js';
|
|
export { default as parseOklab } from './oklab/parseOklab.js';
|
|
export { default as parseOklch } from './oklch/parseOklch.js';
|
|
|
|
export { default as convertA98ToXyz65 } from './a98/convertA98ToXyz65.js';
|
|
export { default as convertCubehelixToRgb } from './cubehelix/convertCubehelixToRgb.js';
|
|
export { default as convertDlchToLab65 } from './dlch/convertDlchToLab65.js';
|
|
export { default as convertHsiToRgb } from './hsi/convertHsiToRgb.js';
|
|
export { default as convertHslToRgb } from './hsl/convertHslToRgb.js';
|
|
export { default as convertHsvToRgb } from './hsv/convertHsvToRgb.js';
|
|
export { default as convertHwbToRgb } from './hwb/convertHwbToRgb.js';
|
|
export { default as convertJabToJch } from './jch/convertJabToJch.js';
|
|
export { default as convertJabToRgb } from './jab/convertJabToRgb.js';
|
|
export { default as convertJabToXyz65 } from './jab/convertJabToXyz65.js';
|
|
export { default as convertJchToJab } from './jch/convertJchToJab.js';
|
|
export { default as convertLab65ToDlch } from './dlch/convertLab65ToDlch.js';
|
|
export { default as convertLab65ToRgb } from './lab65/convertLab65ToRgb.js';
|
|
export { default as convertLab65ToXyz65 } from './lab65/convertLab65ToXyz65.js';
|
|
export { default as convertLabToLch } from './lch/convertLabToLch.js';
|
|
export { default as convertLabToRgb } from './lab/convertLabToRgb.js';
|
|
export { default as convertLabToXyz50 } from './lab/convertLabToXyz50.js';
|
|
export { default as convertLchToLab } from './lch/convertLchToLab.js';
|
|
export { default as convertLchuvToLuv } from './lchuv/convertLchuvToLuv.js';
|
|
export { default as convertLrgbToOklab } from './oklab/convertLrgbToOklab.js';
|
|
export { default as convertLrgbToRgb } from './lrgb/convertLrgbToRgb.js';
|
|
export { default as convertLuvToLchuv } from './lchuv/convertLuvToLchuv.js';
|
|
export { default as convertLuvToXyz50 } from './luv/convertLuvToXyz50.js';
|
|
export { default as convertOkhslToOklab } from './okhsl/convertOkhslToOklab.js';
|
|
export { default as convertOkhsvToOklab } from './okhsv/convertOkhsvToOklab.js';
|
|
export { default as convertOklabToLrgb } from './oklab/convertOklabToLrgb.js';
|
|
export { default as convertOklabToOkhsl } from './okhsl/convertOklabToOkhsl.js';
|
|
export { default as convertOklabToOkhsv } from './okhsv/convertOklabToOkhsv.js';
|
|
export { default as convertOklabToRgb } from './oklab/convertOklabToRgb.js';
|
|
export { default as convertP3ToXyz65 } from './p3/convertP3ToXyz65.js';
|
|
export { default as convertProphotoToXyz50 } from './prophoto/convertProphotoToXyz50.js';
|
|
export { default as convertRec2020ToXyz65 } from './rec2020/convertRec2020ToXyz65.js';
|
|
export { default as convertRgbToCubehelix } from './cubehelix/convertRgbToCubehelix.js';
|
|
export { default as convertRgbToHsi } from './hsi/convertRgbToHsi.js';
|
|
export { default as convertRgbToHsl } from './hsl/convertRgbToHsl.js';
|
|
export { default as convertRgbToHsv } from './hsv/convertRgbToHsv.js';
|
|
export { default as convertRgbToHwb } from './hwb/convertRgbToHwb.js';
|
|
export { default as convertRgbToJab } from './jab/convertRgbToJab.js';
|
|
export { default as convertRgbToLab } from './lab/convertRgbToLab.js';
|
|
export { default as convertRgbToLab65 } from './lab65/convertRgbToLab65.js';
|
|
export { default as convertRgbToLrgb } from './lrgb/convertRgbToLrgb.js';
|
|
export { default as convertRgbToOklab } from './oklab/convertRgbToOklab.js';
|
|
export { default as convertRgbToXyz50 } from './xyz50/convertRgbToXyz50.js';
|
|
export { default as convertRgbToXyz65 } from './xyz65/convertRgbToXyz65.js';
|
|
export { default as convertRgbToYiq } from './yiq/convertRgbToYiq.js';
|
|
export { default as convertRgbToXyb } from './xyb/convertRgbToXyb.js';
|
|
export { default as convertXybToRgb } from './xyb/convertXybToRgb.js';
|
|
export { default as convertXyz65ToA98 } from './a98/convertXyz65ToA98.js';
|
|
export { default as convertXyz65ToJab } from './jab/convertXyz65ToJab.js';
|
|
export { default as convertXyz65ToLab65 } from './lab65/convertXyz65ToLab65.js';
|
|
export { default as convertXyz65ToP3 } from './p3/convertXyz65ToP3.js';
|
|
export { default as convertXyz65ToRec2020 } from './rec2020/convertXyz65ToRec2020.js';
|
|
export { default as convertXyz65ToRgb } from './xyz65/convertXyz65ToRgb.js';
|
|
export { default as convertXyz65ToXyz50 } from './xyz65/convertXyz65ToXyz50.js';
|
|
export { default as convertXyz50ToLab } from './lab/convertXyz50ToLab.js';
|
|
export { default as convertXyz50ToLuv } from './luv/convertXyz50ToLuv.js';
|
|
export { default as convertXyz50ToProphoto } from './prophoto/convertXyz50ToProphoto.js';
|
|
export { default as convertXyz50ToRgb } from './xyz50/convertXyz50ToRgb.js';
|
|
export { default as convertXyz50ToXyz65 } from './xyz65/convertXyz50ToXyz65.js';
|
|
export { default as convertYiqToRgb } from './yiq/convertYiqToRgb.js';
|