validate GPUColor shape(color)