Added getRgb() function for plane.