array|string cast()
cast the object to an array, representing red, green and blue (equal to ->rgb ()), or to a string, giving the name (equal to ->name ()).
the name as string or rgb as array
rgb , name