Fixed a bug with rgb values when saving colors

- rgb values were displaying as undefined when saving a color