Ding's updated (static) color algorithm

ALL HAIL DING