def get_colour(self, c, default='<STR_LIT>', match_only=None):
return self.getattr(c=c,<EOL>attr='<STR_LIT>',<EOL>default=default,<EOL>match_only=match_only)<EOL>
Get the display colour of a component. Wraps `getattr()`.

Development note:
    Cannot define this as a `partial()` because I want
    to maintain the order of arguments in `getattr()`.

Args:
   c (component): The component to look up.
   default (str): The colour to return in the event of no match.
   match_only (list of str): The component attributes to include in the
       comparison. Default: All of them.

Returns:
   str. The hex string of the matching Decor in the Legend.