1 ! Copyright (C) 2014 John Benediktsson
2 ! See http://factorcode.org/license.txt for BSD license
4 USING: arrays colors colors.lab kernel math.functions
5 ranges sequences tools.test ;
8 0.0 1.0 0.1 <range> [| r |
9 0.0 1.0 0.1 <range> [| g |
10 0.0 1.0 0.1 <range> [| b |
11 r g b 1.0 <rgba> dup >laba >rgba
12 [ >rgba-components 4array ] bi@