add HSB and HEX functions