diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index 972c307..83bf92d 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -1060,7 +1060,7 @@ function augmentController(gui, li, controller) { } else if (controller instanceof ColorController) { dom.addClass(li, 'color'); controller.updateDisplay = common.compose(function(val) { - li.style.borderLeftColor = controller.__color.toString(); + li.style.borderLeftColor = controller.__color.toHexString(); return val; }, controller.updateDisplay);