You can directly create an instance of the bean and start using the methods in the bean. Make sure you import the package before you access the methods.
import xxx.beans.color;
...
...
Color myColor = new Color();
// to set the bean values
myColor.setRed("23");myColor.setBlue("55");
myColor.setGreen("66");
// to get the bean values
String red = myColor.getRed("23");
String blue= myColor.setBlue("55");
String green = myColor.setGreen("66");
That should work!!!