Enumerations strategy


How do you deal with enumerations in your Ionic app?
I let user to choose his hair color and save it do database. There are two possible solutions:

1/ Hardcode list of hair colors into my code - If I add new color on the server, client crashes.
2/ Synchronize list of hair colors with the server - Seems a bit complicated approach and don’t know where to store the list since it is javascript.