Java Java Basics Using your New Tools Coding the Prototype

How do I pass multiple arguments using readLine method in the console?

My code is:

Console io = System.console(); String name = io.readLine("Insert name "); String color = io.readLine("Insert colors ");

io.printf("My name is %s and my favourite colors are %s %s "name, color, color);