Constructors

  • Parameters

    • Optional colorOrMode: Color | "face" | "random"

    Returns FaceColor

Properties

color?: Color
mode: "rgb" | "face" | "random"

Methods

  • Returns FaceColor

  • Parameters

    • refPalette: Readonly<Color>[]

    Returns number

  • Parameters

    • refPalette: Readonly<Color>[]
    • color: Readonly<Color>

    Returns number