def get_color(self, refresh=False):
if refresh:<EOL><INDENT>self.refresh_complex_value('<STR_LIT>')<EOL><DEDENT>ci = self.get_color_index(['<STR_LIT:R>', '<STR_LIT>', '<STR_LIT:B>'], refresh)<EOL>cur = self.get_complex_value('<STR_LIT>')<EOL>if ci is None or cur is None:<EOL><INDENT>return None<EOL><DEDENT>try:<EOL><INDENT>val = [cur.split('<STR_LIT:U+002C>')[c] for c in ci]<EOL>return [int(v.split('<STR_LIT:=>')[<NUM_LIT:1>]) for v in val]<EOL><DEDENT>except IndexError:<EOL><INDENT>return None<EOL><DEDENT>
Get color.

        Refresh data from Vera if refresh is True, otherwise use local cache.