fixed bug in color change

Signed-off-by: Ryan Hatfield <tophathacker@gmail.com>