diff --git a/plugins/UserCountryMap/js/visitor-map.js b/plugins/UserCountryMap/js/visitor-map.js
index fad5221672e69c37dd7344a7b08a802f7d48e9c8..1a69b5caad727f9d12a3a7c823b0e16a0379958c 100644
--- a/plugins/UserCountryMap/js/visitor-map.js
+++ b/plugins/UserCountryMap/js/visitor-map.js
@@ -168,7 +168,7 @@
                 stats = minmax(values);
 
                 if (stats.min == stats.max) {
-                    colscale = function() { return '#CDDAEF'; };
+                    colscale = function() { return chroma.hex('#CDDAEF'); };
                     if (choropleth) {
                         $('.UserCountryMap-legend .content').html('').show();
                         addLegendItem(stats.min, true);