Add processing to judge whether (RGB or RGBa) and (String or Array)