This node calculates a contrasting complementary color based on an input RGB color. The goal is to ensure visibility and contrast when overlaying text, UI elements, or graphical components against a given background color.
https://github.com/dasilva333/ComfyUI_ContrastingColor
git clone https://github.com/dasilva333/ComfyUI_ContrastingColor
comfy node install ComfyUI_ContrastingColor