def _get_color(treecolor, tree_type):
if treecolor is not None:<EOL><INDENT>return treecolor<EOL><DEDENT>return TREE_COLOR.get(tree_type, '<STR_LIT>')<EOL>
if treecolor set, it's returned, otherwise tree_type is used to return set colors