Set the palette of this drawable according to one of the three possible component states in PolyUI.
the state to set. One of DANGER/0 (red), WARNING/1 (yellow), SUCCESS/2 (green).