fix bug in hex-to-rgb(a) service