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

前端 未结 7 822
野的像风
野的像风 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:18

    Check this implementation for additive, substractive and other mixing alghoritms.

    Is fully functional (writed in java), so you can test whatever colors you need to mix, and see if it fit your needs.

    As other responses pointed, Blue + Yellow (exactly Cyan + Yellow) is Green on substractive CMYK alghoritm. See by yourself

提交回复
热议问题