[code] add color support