Created
May 4, 2013 16:21
-
-
Save AriTheElk/5517980 to your computer and use it in GitHub Desktop.
Mathematical algorithm for mixing two RGB colors together.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[R, G, B] = min(ColorOneRed + ColorTwoRed, 255), min(ColorOneGreen + ColorTwoGreen, 255), min(ColorOneBlue+ ColorTwoBlue, 255) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment