How can I change the tags in the context menu?

I can't find any way to edit the tags within the context menu which appears when you double-tap on a file in Finder. Is there a way to choose which ones appear? An example of what I mean is below:

Screenshot of the context menu tags


Solution 1:

From Finder prefs [Finder menu > Preferences... or Cmd ⌘ , > Tags

You can check which to show in the sidebar in the top section & in the lower section you can drag & drop the set to use on contextual menus. It will replace the tag you drag to with the new one.

enter image description here