How to change the colors of a Google Sheets chart using an object?

I have some shooting data that looks like the below.

table of shooting data

To understand how many of each shot type we are taking over the course of the season, I used a bar chart using the data from column B.

bar chart displaying counts of each shot type

I want to customize the colors of each bar (shot type) with a specific color such as:

colors = {
  "Shot Type 1": "red",
  "Shot Type 2": "blue",
  ...
}

I have found some answers using Google Scripts (which is fine to use) but they rely on passing the mapping in as a array, which is dictated by the ordering of data. I’d prefer not to rely on that, and rather just rely on the colors object to specify the colors. Additionally to note, there are 9 total shot types and associated colors, and some of those might not have been taken yet, which is another reason why relying on an array to pass in colors would not work I don’t believe.

Can someone assist using Google Sheets native functionality or a Script?