def as_dict(self) -> Dict[str, str]:
items: Dict[str, str] = {}<EOL>for k, v in self.items():<EOL><INDENT>if type(v) is str:<EOL><INDENT>items.update({k: v})<EOL><DEDENT><DEDENT>return items<EOL>
Export color register as dict.