yop: initialize palette to 0