Added Color class and add isColor function to Terminal class.