Adding dropdown box
converting from pixelbased to colormatrix based