svgo icon indicating copy to clipboard operation
svgo copied to clipboard

Feature Request:Round colors

Open 17jiangz1 opened this issue 5 years ago • 1 comments

Option (disabled by default) to round colours from #xxxxxx to #xxx using the closest #xxx colour in the CIELAB colour space.

17jiangz1 avatar Apr 23 '20 13:04 17jiangz1

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.

jameswilddev avatar Apr 25 '20 23:04 jameswilddev

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.

SethFalco avatar Dec 02 '23 13:12 SethFalco