This image shows how to use color syntax highlighting in the Scala REPL. In short, just start the REPL like this:

$ scala -Dscala.color

The photo is from this Twitter post.