Sharing an algorithm to calculate the foreground color that can be clearly displayed on any background color.
Copyright Statement: This work is licensed under the Knowledge Sharing Signature – Noncommercial Use – Sharing 4.0 International License Agreement in the same way. You are welcome to reprint, use, and redistribute the article, but be sure to keep the article’s signature Lu Yi (including links: http://blog.csdn.net/wpw)Alter /), shall not be used for commercial purposes, based on the revised works must be released with the same license. If you have any questions, please contact me (email@example.com). Https://blog.csdn.net/WPwaLter/article/details/78671680
Link of this Article: Share an algorithm to calculate the foreground color that can be clearly displayed on any background color.