Partial fix for color modularity, still need to fix modulo division