you can alias this enum to make all these lines cleaner
for example, at the top of the function, do:
var colors = .....COLORS_;
ctx.fillStyle = colors.GUTTER_BACKGROUND;

same with lengths