xyz.d.ts 419 B

1234567891011121314
  1. import { XyzaColor } from "../types";
  2. import { Plugin } from "../extend";
  3. declare module "../colord" {
  4. interface Colord {
  5. toXyz(): XyzaColor;
  6. }
  7. }
  8. /**
  9. * A plugin adding support for CIE XYZ colorspace.
  10. * Wikipedia: https://en.wikipedia.org/wiki/CIE_1931_color_space
  11. * Helpful article: https://www.sttmedia.com/colormodel-xyz
  12. */
  13. declare const xyzPlugin: Plugin;
  14. export default xyzPlugin;