def get_keyword(text):
first_word = text.split("<STR_LIT:U+0020>")[<NUM_LIT:0>]<EOL>if len(first_word) > <NUM_LIT:1> and first_word.isupper(): <EOL><INDENT>kwd = str(first_word.lower())<EOL><DEDENT>else:<EOL><INDENT>kwd = None<EOL><DEDENT>return kwd<EOL>
Accept a string such as BACKGROUNDCOLOR [r] [g] [b]
and return backgroundcolor