Image color replacement with numerical optimization | Hacker News Reader