source: trip-planner-front/node_modules/colord/plugins/hwb.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 797 bytes
Line 
1import { HwbaColor } from "../types";
2import { Plugin } from "../extend";
3declare module "../colord" {
4 interface Colord {
5 /**
6 * Converts a color to HWB (Hue-Whiteness-Blackness) color space and returns an object.
7 * https://en.wikipedia.org/wiki/HWB_color_model
8 */
9 toHwb(): HwbaColor;
10 /**
11 * Converts a color to HWB (Hue-Whiteness-Blackness) color space and returns a string.
12 * https://www.w3.org/TR/css-color-4/#the-hwb-notation
13 */
14 toHwbString(): string;
15 }
16}
17/**
18 * A plugin adding support for HWB (Hue-Whiteness-Blackness) color model.
19 * https://en.wikipedia.org/wiki/HWB_color_model
20 * https://www.w3.org/TR/css-color-4/#the-hwb-notation
21 */
22declare const hwbPlugin: Plugin;
23export default hwbPlugin;
Note: See TracBrowser for help on using the repository browser.