def get(name=None):
if name is None or name == '<STR_LIT:default>':<EOL><INDENT>return _DEFAULT_PALETTE<EOL><DEDENT>if isinstance(name, str):<EOL><INDENT>return PROJECT_PALETTES.get(name) or BUILT_IN_PALETTES.get(name)<EOL><DEDENT>
Return a named Palette, or None if no such name exists.

If ``name`` is omitted, the default value is used.