You used a method in an expression as though it returned a value, but it doesn't.
The user-written method myColor is not a function, so this syntax in a calling method is not correct
Function, Return, Sub statements.