Extract prominent colors from an image
Based on node-vibrant
➜ docker run --rm -p 8080:80 ealen/picolors web
HTTP Server Started
➜ curl localhost:8080/?s=https://picsum.photos/id/274/200/300
{ color: '#444cc0', textColor: '#fff' }
# URL
➜ docker run --rm ealen/picolors https://picsum.photos/id/274/200/300
{ color: '#444cc0', textColor: '#fff' }
# File
➜ docker run --rm --read-only -v $PWD:/home picolors:latest /home/test.jpg
{ color: '#4294eb', textColor: '#fff' }