GRIM: Reduce the scope of color, fixing a variable shadow warning