Add function color() and refactoring

to avoid to repeating `map-get($colors, "name_color")`