             cell.appendChild(el)
             continue
           if hex
-            color = _color_to_hex(color)
+            color = color2hex(color)
           el = span({}, color)
           cell.appendChild(el)
           if swatch


      else
        # handle non-multiglyphs
        data_x = renderer_view.glyph._x?[i]
        data_y = renderer_view.glyph._y?[i]
        if @model.point_policy == 'snap_to_data' # and renderer.glyph.sx? and renderer.glyph.sy?
          # Pass in our screen position so we can determine
          # which patch we're over if there are discontinuous
          # patches.
          pt = renderer_view.glyph.get_anchor_point(@model.anchor, i, [sx, sy])
          if not pt?
            pt = renderer_view.glyph.get_anchor_point("center", i, [sx, sy])

          rx = canvas.sx_to_vx(pt.x)
          ry = canvas.sy_to_vy(pt.y)

      ["index",         "$index"    ]
      ["data (x, y)",   "($x, $y)"  ]
      ["canvas (x, y)", "($sx, $sy)"]
    ]]
    formatters:   [ p.Any,    {}             ]
    renderers:    [ p.Array,  []             ]
    names:        [ p.Array,  []             ]
