[build] color conversion