UNPKG

312 BTypeScriptView Raw
1/**
2 * A simple color class returned from Config::get when the value at the key path is
3 * of type 'color'.
4 */
5export interface Color {
6 /** Returns a string in the form '#abcdef'. */
7 toHexString(): string;
8
9 /** Returns a string in the form 'rgba(25, 50, 75, .9)'. */
10 toRGBAString(): string;
11}