This MR fixes an invalid read/write in the CLI for setting mode specific colors. Fixes #1374 (closed)