Using garbage bags and sunlight, researchers figured out the genetics of apples' red color.