A tiny zero-dependency browser package that extracts dominant color from images using WebGPU API with various algorithms. It's built with compute shaders.<p>Live demo: <a href="https://ivanludvig.dev/image-palette-webgpu" rel="nofollow">https://ivanludvig.dev/image-palette-webgpu</a><p>There are plans to add tests and benchmarks