Is there an algorithm for color mixing that works like mixing real colors?

前端 未结 7 818
野的像风
野的像风 2020-11-28 18:38

The common mixing of RGB colors is very different from mixing colors for paintings, it\'s mixing of light instead mixing of pigments.

For example:

Bl         


        
相关标签:
7条回答
  • 2020-11-28 19:40

    One way to do subtractive mixture of RGB colors is to first convert the RGB colors to spectral reflectance curves. The conversion is fairly simple, and once you've done it, you can do a true subtractive mixture of the reflectance curves, and then convert the result back to RGB. There is another similar question: stackoverflow.com/questions/10254022/, where this process is discussed in more detail.

    0 讨论(0)
提交回复
热议问题