add multipain input,254 color mode