Improved color algorithm. Added filters.