I recently released a fun web app I've been working on that uses vector tile layers and professional sports teams colors to allow you to create your own colored basemap for your ArcGIS maps: Team Basemaps. Thought I'd give a rough step-by-step guide to how I made it.
Wrote the widget that allows you to choose the different teams. Utilized this open source project for color codes. As part of this, had to write the function that converts an array of color codes to a vector basemaps style JSON. I'm thinking about pulling this out into a separate JS library in the future so it can be utilized by other projects.