Improve API to colorize icons