Bilge opened a new issue #13399:
URL: https://github.com/apache/incubator-echarts/issues/13399


   ### What problem does this feature solve?
   RGB interpolation suffers from colour desaturation when interpolating 
between two colours with disparate hues. There are [some 
articles](https://web.archive.org/web/20150215132805/https://www.stuartdenman.com/improved-color-blending/)
 about this issue and also some proposed solutions, such as [HSB and Lch 
blending algorithms](https://www.shadertoy.com/view/lsdGzN), which produce 
better results that **maintain saturation and brightness** during interpolation.
   
   #### Example of problem
   
![image](https://user-images.githubusercontent.com/470626/95504467-ad32b480-09a4-11eb-86f1-0100eaddf811.png)
   
   In this example, eCharts interpolates between `#70b53c` and `#7c45a5`, but 
we see the mid point is actually almost entirely grey `#77717c`!
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to