How to specify color for each point in heatmap

Single-page reference in JavaScript is a good place to start.

Not at the moment unfortunately. See Raster graphics / heatmap performance · Issue #1827 · plotly/plotly.js · GitHub