I\'m writing a basic JS program to convert text into color to render in the DOM, and for some reason I just can\'t figure out how to get this function to return my intended arra