forked from: 赤から緑へのグラデーション

lineを使った赤から緑へのグラデーション
@author shmdmoto