colorGen produces only valid RGB values now, but it still needs tweaking