Index for right colors fixed

Before the wrong Color numbers were chosen. Now the right ones are picked.