I want to write an application where I need to know whether the device is in "grayscale" or normal mode.