Filter.register "fillColor", ->
if arguments.length is 1
color = Convert.hexToRGB arguments[0]
else
color =
r: arguments[0]
g: arguments[1]
b: arguments[2]
@process "fillColor", (rgba) ->
rgba.r = color.r
rgba.g = color.g
rgba.b = color.b
rgba.a = 255
rgba