par_color = '{}*'.format(parColors)
over_ride_color = parent().pars(par_color)
# disabled top backdrops for a moment
ui.panes[0].showBackdropTOPs = False
# change background color (0.1, 0.105, 0.12)
ui.colors['worksheet.bg'] = over_ride_color
# reenable the background tops in the delay script
delay_script = "ui.colors['worksheet.bg'] = args[0]\nui.panes[0].showBackdropTOPs = True"
# want to change the background color back
run(delay_script, self.Defaultcolor, delayFrames = self.Flash_duration)
A naive implementation could be:
`
`