This is how you can create a custom user controlled color setting in Fitbit.
In your app/index.js import the settings module as shown below:
import * as settings from "./settings.js";
Then initialize the the settings file as shown below:
settings.initialize();
To get help with an error make an issue here on the respitory or email me here