support setColor method