![]() |
|
Navigation |
Synopsis Create a list of intermediate colors between two colors.
Function
list[Color] colorSteps(Color from, Color to, int steps)
Description Create a list of interpolated colors between
from and to in a given number of steps .
Examples
boxes = [ box([size(50), fillColor(c)]) | c <- colorSteps(color("Yellow"), color("Blue"), 10) ]; render(hcat(boxes));gives: ![]() ![]() |