alias tohex return $+($base($1,10,16,2),$base($2,10,16,2),$base($3,10,16,2))

Useage: $tohex(r,g,b)