refactor of myColorConstants to MyConstants