|
|
发表于 2013-5-31 17:38:06
|
显示全部楼层
- def text_color(n)
- case n
- when 0
- return Color.new(255, 255, 255, 255)
- when 1
- return Color.new(128, 128, 255, 255)
- when 2
- return Color.new(255, 128, 128, 255)
- when 3
- return Color.new(128, 255, 128, 255)
- when 4
- return Color.new(128, 255, 255, 255)
- when 5
- return Color.new(255, 128, 255, 255)
- when 6
- return Color.new(255, 255, 128, 255)
- when 7
- return Color.new(192, 192, 192, 255)
- when 8 # 黑色
- return Color.new(0, 0, 0, 255)
- when 9 #紫色
- return Color.new(255, 0, 255, 255)
- else
- normal_color
- end
- end
复制代码 其他颜色到PS提取RPB颜色板后,自行添加 |
评分
-
查看全部评分
|