This might be good to pull out to wb core since it can probably be used for charts as well. Might need some whitelisting so some colours aren't used together (i.e. red/green colour blindness)