Urara-Blog/node_modules/.pnpm-store/v3/files/2d/7c2750399f2321a64418b79814a1885f048f980102a523c38aab8d797650dc85c76c10cfe3a2ad3842984c6b414723e0015b033e01a379dd5fca0ebb440685
2022-08-14 01:14:53 +08:00

23 lines
797 B
Text

import { HwbaColor } from "../types";
import { Plugin } from "../extend";
declare module "../colord" {
interface Colord {
/**
* Converts a color to HWB (Hue-Whiteness-Blackness) color space and returns an object.
* https://en.wikipedia.org/wiki/HWB_color_model
*/
toHwb(): HwbaColor;
/**
* Converts a color to HWB (Hue-Whiteness-Blackness) color space and returns a string.
* https://www.w3.org/TR/css-color-4/#the-hwb-notation
*/
toHwbString(): string;
}
}
/**
* A plugin adding support for HWB (Hue-Whiteness-Blackness) color model.
* https://en.wikipedia.org/wiki/HWB_color_model
* https://www.w3.org/TR/css-color-4/#the-hwb-notation
*/
declare const hwbPlugin: Plugin;
export default hwbPlugin;