blob: 36c302a937778a5d0f17f2509e8a839db6e049ce [file] [log] [blame]
import { CmykaColor } from "../types";
import { Plugin } from "../extend";
declare module "../colord" {
interface Colord {
/**
* Converts a color to CMYK color space and returns an object.
* https://drafts.csswg.org/css-color/#cmyk-colors
* https://lea.verou.me/2009/03/cmyk-colors-in-css-useful-or-useless/
*/
toCmyk(): CmykaColor;
/**
* Converts a color to CMYK color space and returns a string.
* https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/device-cmyk()
*/
toCmykString(): string;
}
}
/**
* A plugin adding support for CMYK color space.
* https://lea.verou.me/2009/03/cmyk-colors-in-css-useful-or-useless/
* https://en.wikipedia.org/wiki/CMYK_color_model
*/
declare const cmykPlugin: Plugin;
export default cmykPlugin;