func Color(params ...interface{}) *js.Object {
	switch len(params) {
	case 1:
		return pG.Call("color", params[0])
	case 2:
		return pG.Call("color", params[0], params[1])
	case 3:
		return pG.Call("color", params[0], params[1], params[2])
	case 4:
		return pG.Call("color", params[0], params[1], params[2], params[3])
	default:
		println("Error in Color function (1)")
		return nil
	}
}
//////////////////////////////////////////////////////////
COLOR
Creating and reading:
package processing
import (
	"github.com/gopherjs/gopherjs/js"
	"reflect"
)
var pG *js.Object
var Setup func()
var Draw func()
var HALF_PI float64
var PI float64
var QUARTER_PI float64
var TAU float64
var TWO_PI float64
var OPEN string  
var CHORD string
var PIE string
var RGB string
var HSB string
var LEFT string
var RIGHT string
var CENTER string
var MouseX int
var MouseY int
var PmouseX int
var PmouseY int
var WinMouseX int
var WinMouseY int
var PwinMouseX int
var PwinMouseY int
var MouseButton string
var MouseIsPressed bool
var Width int
var Height int
func CreateCanvas(width, height int) {
	pG.Call("createCanvas", width, height)
}