Fixed compiler errors for color