Files
klammertext/sks/color/color.k

9 lines
307 B
Plaintext
Raw Normal View History

@@@argtype color |
a color in the form <red> <green> <blue>.
:pattern 'float' 'float' 'float'
:python_cast (lambda s : [float(e) for e in s.strip().split()])
@@@
@@color.k rgb :text : Color description as required by the target from @c <r>,<g>,<b> @ input @@
@@color :: @eval color.Color(K) eval@ @@