Index: src/django_gheat/wlheatmap/static/heatmap_extensions.js
===================================================================
--- src/django_gheat/wlheatmap/static/heatmap_extensions.js	(revision 9652)
+++ src/django_gheat/wlheatmap/static/heatmap_extensions.js	(revision 9655)
@@ -335,7 +335,6 @@
      * On HEX to RGB:
      * http://stackoverflow.com/questions/5798868/need-some-tips-with-how-to-convert-a-hexadecimal-color-value-to-a-rgb-one/5798900#5798900
-     * Note that '#' comes out as '%23', so substr() starts at char 3
      */
-    colour = parseInt((colour.substr(3, 2)),16) + ',' + parseInt((colour.substr(5, 2)),16) + ',' + parseInt((colour.substr(7, 2)),16);
+    colour = parseInt((colour.substr(1, 2)),16) + ',' + parseInt((colour.substr(3, 2)),16) + ',' + parseInt((colour.substr(5, 2)),16);
 
     // some checks if values are correct, and adding them to parts of the link
