adding getColor method for pimage and update p5.Color to take opt mode arg