fixed color retrieval; using a byte to store the color code int is probably a bad idea since byte value range is -127 to 127