Names the closest palette token with a perceptual (OKLab) distance and offers a one-tap snap when a value is slightly off (#1e40ae vs #1e40af); catches pasted junk, O for 0, wrong digit counts, alpha in 4/8-digit hex and Android #AARRGGBB order.
npx shadcn@latest add @bollard/brand-color-inputbrand-color-input