def _normalize_percent_rgb(value):
percent = value.split(u'<STR_LIT:%>')[<NUM_LIT:0>]<EOL>percent = float(percent) if u'<STR_LIT:.>' in percent else int(percent)<EOL>return u'<STR_LIT>' if percent < <NUM_LIT:0>else u'<STR_LIT>' if percent > <NUM_LIT:100>else u'<STR_LIT>'.format(percent)<EOL>
Internal normalization function for clipping percent values into
the permitted range (0%-100%, inclusive).