Since Color.xxx is a Color object, it will just evaluate from left to right.
(((Color.red).green).yellow).xxx and so on.
You can do the same with methods:
" Some
String ".trim().toUpperCase().substring(x, y);
Since each method call is returning a String object, you can continue to call String methods on that object, evaluating from left to right.