Refactor getColorStop