Fixed off-by-one errors in color handling.
Fixed off-by-one errors in color handling.

First color was ignored because color indices in the document start from 1, but in the colors array they start from 0.

fdb/blokjes,fdb/blokjes