Handwriting a --no-color twin for every switch gets old, so I let argparse generate it.
import argparse
p = argparse.ArgumentParser()
p.add_argument("--color", action=argparse.BooleanOptionalAction, default=True)
print(p.parse_args())
BooleanOptionalAction (Python 3.9 and later) registers both --color and --no-color and stores a real True or False. The help text shows both spellings automatically. Set default explicitly, because without it the value is None when neither flag is given. This beats store_true when the default is already on and users need a way to turn it off. Older code often reaches for two separate arguments with dest and opposite actions, which this replaces.
Further reading: argparse documentation