svgo
svgo copied to clipboard
Feature Request:Round colors
Option (disabled by default) to round colours from #xxxxxx to #xxx using the closest #xxx colour in the CIELAB colour space.
I was after this too (using SVG in extreme minification projects). Might give it a try. Was just going to mask off the least significant bits of each channel, e.g. #123456 becomes #135.
Hey! Thanks for reporting the issue. I'll close this as a duplicate of https://github.com/svg/svgo/issues/884, but I've made a note of the PR there.