Fixed colors

Fixed the rgb to decimal converter making colors show up incorrectly when used with mapappearance packet