Example color logic using 4 keys, 6 tweens, totalColors 22
totalColors including Bizarro colors is 42
finding color 41 : 41 is a bizarro color! actual color number is 1
    Key Colors : 00 __ __ __ __ __ __ 07 __ __ __ __ __ __ 14 __ __ __ __ __ __ 21 
Actual Colors : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21
Bizarro Colors : 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22
41 is a bizarro color! ( working with it as color 1 )
1 / Tweens+1 = 0.14285714285714
Guessing color 1 is between keys 0 and 1
determining which key colors 1 falls between..
checking if 1 falls between key 0 and 1 : BINGO
color is a tween between (87,0,0) and (87,206,105)
diff per tween is 0,29.428571428571,15

COLOR IS (87,29,15)
Array
(
    [0] => Array
        (
            [0] => 87
            [1] => 0
            [2] => 0
        )

    [1] => Array
        (
            [0] => 87
            [1] => 206
            [2] => 105
        )

    [2] => Array
        (
            [0] => 79
            [1] => 255
            [2] => 184
        )

    [3] => Array
        (
            [0] => 18
            [1] => 255
            [2] => 250
        )

    [4] => Array
        (
            [0] => 0
            [1] => 255
            [2] => 214
        )

)
Another example: ?keys=4&tweens=6