diff --git a/addons/knobs/src/components/types/Color.js b/addons/knobs/src/components/types/Color.js index 7462fc5ec0f2..d0d90b0ab43d 100644 --- a/addons/knobs/src/components/types/Color.js +++ b/addons/knobs/src/components/types/Color.js @@ -84,7 +84,12 @@ class ColorType extends React.Component { this.popover = e; }} > - onChange(color.hex)} /> + + onChange(`rgba(${color.rgb.r},${color.rgb.g},${color.rgb.b},${color.rgb.a})`) + } + /> ), () => null