Color codes with logic

#88