Changed RGB reading type to struct

Converted from an array of ints to a struct of unsigned chars.