rgb2ntsc implementation works