]> gitweb.factorcode.org Git - factor.git/commit
colors.hex: support varying length hex notations.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 27 Nov 2016 05:13:12 +0000 (21:13 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 27 Nov 2016 05:13:12 +0000 (21:13 -0800)
commit72cf4fec47172ec9e861c4190501ed83055b085c
tree1e214d1ec6d31450ed1df254e54adbe3b1edc148
parent3b0d5bba15d3da760c7e635e6317c5c32acedc06
colors.hex: support varying length hex notations.

6 characters: rrggbb (1.0 alpha)
8 characters: rrggbbaa
3 characters: rgb (1.0 alpha)
4 characters: rgba
basis/colors/hex/hex-tests.factor
basis/colors/hex/hex.factor