Skip to content

@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:152

Represents options for generating a color palette.

Properties ​

baseColor ​

ts
baseColor: MoebiusColorInterface;

Defined in: types/index.ts:153


bezier? ​

ts
bezier?: boolean;

Defined in: types/index.ts:157


colorScaleMode? ​

ts
colorScaleMode?: MoebiusInterpolationMode;

Defined in: types/index.ts:161


correctLightness? ​

ts
correctLightness?: boolean;

Defined in: types/index.ts:159


divergentColor? ​

ts
divergentColor?: MoebiusColorValueHexType;

Defined in: types/index.ts:155


diverging? ​

ts
diverging?: boolean;

Defined in: types/index.ts:156


divergingColor? ​

ts
divergingColor?: string;

Defined in: types/index.ts:162


noDuplicates? ​

ts
noDuplicates?: boolean;

Defined in: types/index.ts:160


numberOfColors? ​

ts
numberOfColors?: number;

Defined in: types/index.ts:164


randomOffset? ​

ts
randomOffset?: boolean;

Defined in: types/index.ts:158


reverseDirection? ​

ts
reverseDirection?: boolean;

Defined in: types/index.ts:163


secondaryColor ​

ts
secondaryColor: MoebiusColorInterface;

Defined in: types/index.ts:154