diff --git a/lib/components/src/controls/Color.tsx b/lib/components/src/controls/Color.tsx index 6b2767c388e2..a77d000d34bb 100644 --- a/lib/components/src/controls/Color.tsx +++ b/lib/components/src/controls/Color.tsx @@ -246,7 +246,7 @@ const usePresets = ( currentColor: ParsedColor, colorSpace: ColorSpace ) => { - const [selectedColors, setSelectedColors] = useState(currentColor ? [currentColor] : []); + const [selectedColors, setSelectedColors] = useState(currentColor?.valid ? [currentColor] : []); const presets = useMemo(() => { const initialPresets = (presetColors || []).map((preset) => {