Added helper function for grabbing and converting colors from game objects