toNumber() {
    const hex = toByte(this.h, this.s, this.l);

    return (hex.h << 16) + (hex.s << 8) + hex.l;
  }
/**
   * Returns an number representation of the color
   * @return { Number } Unsigned 24 bt integer in the range 0-16 777 216
   */
Returns an number representation of the color
@return { Number } Unsigned 24 bt integer in the range 0-16 777 216
Returns an number representation of the color @return { Number } Unsigned 24 bt integer in the range 0 - 16 777 216
toNumber() {
    const hex = toByte(this.h, this.s, this.l);
    return (hex.h << 16) + (hex.s << 8) + hex.l;
  }
toNumber ( ) { const hex = toByte ( this . h , this . s , this . l ) ; return ( hex . h << 16 ) + ( hex . s << 8 ) + hex . l ; }
Returns an number representation of the color
 @return { Number } Unsigned 24 bt integer in the range 0-16 777 216
Returns an number representation of the color @return { Number } Unsigned 24 bt integer in the range 0 - 16 777 216