@phun-ky/moebius / MoebiusPaletteOptionsType
Type Alias: MoebiusPaletteOptionsType
ts
type MoebiusPaletteOptionsType = {
baseColor: MoebiusColorInterface;
bezier?: boolean;
colorScaleMode?: MoebiusInterpolationMode;
correctLightness?: boolean;
divergentColor?: MoebiusColorValueHexType;
diverging?: boolean;
divergingColor?: string;
noDuplicates?: boolean;
numberOfColors?: number;
randomOffset?: boolean;
reverseDirection?: boolean;
secondaryColor: MoebiusColorInterface;
};
Defined in: types/index.ts:114
Represents options for generating a color palette.
Properties
baseColor
ts
baseColor: MoebiusColorInterface;
Defined in: types/index.ts:115
bezier?
ts
optional bezier: boolean;
Defined in: types/index.ts:119
colorScaleMode?
ts
optional colorScaleMode: MoebiusInterpolationMode;
Defined in: types/index.ts:123
correctLightness?
ts
optional correctLightness: boolean;
Defined in: types/index.ts:121
divergentColor?
ts
optional divergentColor: MoebiusColorValueHexType;
Defined in: types/index.ts:117
diverging?
ts
optional diverging: boolean;
Defined in: types/index.ts:118
divergingColor?
ts
optional divergingColor: string;
Defined in: types/index.ts:124
noDuplicates?
ts
optional noDuplicates: boolean;
Defined in: types/index.ts:122
numberOfColors?
ts
optional numberOfColors: number;
Defined in: types/index.ts:126
randomOffset?
ts
optional randomOffset: boolean;
Defined in: types/index.ts:120
reverseDirection?
ts
optional reverseDirection: boolean;
Defined in: types/index.ts:125
secondaryColor
ts
secondaryColor: MoebiusColorInterface;
Defined in: types/index.ts:116