import { hexToString, storeHex } from '../common/convert'; import { IcyNetUser } from '../server/types/user'; import { $ } from './utils/dom'; export class Picker { private _fn?: (color: number) => void; private _color: number = 0x000000; private _colorHistory: number[] = []; private _wrapper = $('