added ability to handle already allocated colors
added support for rgba output of pickColor method