Center:
1 variable: R G B R+G R+B G+B R+G+B
2 variable: Increment: R * G R * B G * B R * G+B R+G * B R+B * G