Color button in NER

Is it possible to define colors for buttons in ner.manual and rel.manual (spans)?

Hi! What do you mean by buttons, do you mean the label buttons or the colours of the labels?

I mean color of label buttons. I want them to have the same colors as defined by me label colors in text.

You can target the individual labels via the data-prodigy-label data attribute via the global_css config, e.g.:

[data-prodigy-label="PERSON"] {
    background: red;
}
2 Likes