some refactoring and TESTS! :D
fix random color ranges
refactor seq-to-bytes to use do-seq