@mica/sdk (SDK contract v1)
    Preparing search index...

    Function sanitizeSeed

    • A seed is a six-digit hex color and nothing else.

      Narrow on purpose: this runs on a value read back from storage, which a player can edit, and it is the only thing standing between that and the color engine. Three-digit shorthand is rejected rather than expanded — the picker never produces it, so accepting it would only widen what has to stay correct.

      Parameters

      • value: unknown

      Returns string