Example color logic using 4 keys, 4 tweens, totalColors 16
totalColors including Bizarro colors is 30
finding color 1 :
    Key Colors : 00 __ __ __ __ 05 __ __ __ __ 10 __ __ __ __ 15 
Actual Colors : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
Bizarro Colors : 29 28 27 26 25 24 23 22 21 20 19 18 17 16
1 / Tweens+1 = 0.2
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,41.2,21

COLOR IS (87,41,21)
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