如果我有一条从0到1的直线,那么我在线上的颜色为0(255,0,0),然后在0.3我有colorB(20,160,0)然后在线上我有colorC (0,0,0).我怎么能找到0.7的颜色?
谢谢
c c++ algorithm
algorithm ×1
c ×1
c++ ×1