color-theme-generator
Version:
Generates random color themes that are based in color theory.
15 lines (14 loc) • 616 B
TypeScript
import { ColorThemeData } from './ColorThemeData.js';
import { MultiHueColorThemeFactory } from './MultiHueColorThemeFactory.js';
export declare class SplitComplementaryThemeFactory extends MultiHueColorThemeFactory {
#private;
constructor();
/**
* Generates an split complementary color theme.
*
* @param numberOfColors - The number of colors to include ranging from 3 to 5.
* @returns An object containing data about the generated color theme.
* @throws Error if the arguments does not pass the validation.
*/
getColorTheme(numberOfColors: number): ColorThemeData;
}