256 color conversion working