toHex(n: number): boolean
将rgb三个值转为hex
import {toHex} from 'melon-colorpicker/src/util.js'
r,b,g当前值(0-255)
hexstr 转化后的16进制字符串