scanline update color count