Field Notes
    Preparing search index...

    Function defaultPeerColor

    • Deterministic palette colour for a stable peer id (FNV-1a over UTF-16 code units), so every client shows the same peer in the same colour without any colour travelling on the wire.

      Parameters

      • seed: string

      Returns string