npd: preparation for transition to RGBA float color model