added method for setting color. closes #82