• Parameters

    • color: string

      a hex, rgb, hsl, or named color string

    • customAssignments: {
          [key: string]: string;
      }

      a dictionary that maps an uppercase hex color string to a FOLD edge assignment.

      • [key: string]: string

    Returns string

    a FOLD edge assignment

    Description

    Convert a color to a FOLD edge assignment