How to change bullet color of custom select fieldtype in the list view?

I know to change bullet color of select field named Status is by using appname_list.js.
But if the field is not a status, using that file will create a new column named Status.

What I want to do is to give color to a select field of category (red for Cat A, blue for Cat B, etc).

How do I do it?
Thank you

Note: I need it for version-12 and 13 (if the way to do it is different)