# Mixbox: Pigment-Based Color Mixing
Mixbox is a new blending method for natural color mixing. It produces saturated gradients with hue shifts and natural secondary colors during blending. Yellow and blue make green. The interface is simple - RGB in, RGB out. Internally, Mixbox treats colors as real-life pigments using the Kubelka & Munk theory to predict realistic color behavior. That way, colors act like actual paints and bring more vibrance and intuition into digital painting.
* Paper: https://scrtwpns.com/mixbox.pdf
* Video: https://youtu.be/ATzVPVNp1qA
* Talk: https://youtu.be/_qa5iWdfNKg
* Demo: https://scrtwpns.com/mixbox/painter
Mixbox is shipping in Rebelle 5 Pro as the [Rebelle Pigments](https://www.escapemotions.com/products/rebelle/about) feature and in the [Flip Fluids](https://flipfluids.com/) addon for Blender.
## Usage
- [C / C++](cpp): `#include "mixbox.h"` and build `mixbox.cpp` together with your project
- [C#](csharp): use Mixbox package from NuGet `https://www.nuget.org/packages/Mixbox/2.0.0`
- [Java](java): add `implementation 'com.scrtwpns:mixbox:2.0.0'` to your Gradle
- [JavaScript](javascript): `