oops indeed. I pasted without paying attention blush

Code:
else say $+( 4 ,$1-)

should have been
Code:
else say $+( 04 ,$1-)

that's Control+K, ZERO Digit
You need to zero-pad the single-digit color codes
To get the comma for the second color code, use $chr(44)

So for
Code:
else say $+(8,2,$1-)

try
Code:
else say $+(08,$chr(44),02,$1-)

A guess, really.


LonDart