Fixed string index

We made a little test project for the L8 device and ran into the issue of a wrong color value.