improved gradient calculation by rgb all; visualized by hue