refactoring: moved coord-color conversion to color dialog