For setting the tag label color only a specific set of colors is possible. The possible colors can be found below.

[
  '#2CACBC', // pozyx-blue
  '#000000', // black
  '#00ECD3', // cyan
  '#2FD64C', // green
  '#7E00FF', // purple
  '#EC008C', // pink
  '#FCFF00', // yellow
  '#FF0000', // red
  '#FF9738', // orange
]
CODE