Why is this not an option in the Customizer? This would be the perfect place for it. The customizer also comes with a color picker control, so there isn’t even any JavaScript needed.
P.S. You should also label you plugin to have a minimum PHP version of 5.4 ??
]]>