Skip to content

Add color type and Color to RGB Int node#12145

Merged
Kosinkadink merged 4 commits intomasterfrom
pysssss/color-to-int-node
Jan 30, 2026
Merged

Add color type and Color to RGB Int node#12145
Kosinkadink merged 4 commits intomasterfrom
pysssss/color-to-int-node

Conversation

@pythongosssss
Copy link
Member

The frontend already supports the COLOR type as a hex string with a custom widget.
This adds a node that lets the user select a color and convert it to a int RGB representation

image

@pythongosssss pythongosssss marked this pull request as ready for review January 29, 2026 00:57
@Kosinkadink
Copy link
Member

Tested locally and looks good. my only gripe is with the color widget itself and not the backend - there is no way to type in a color code into the existing color widget. This seems to have been the behavior of it this whole time, so that should not stop us from shipping this, but we should consider making the widget have a way to type the hexcode, as it is something I ran into within 10 seconds of testing.

chrome_nKeZxwaEit.mp4

Copy link
Member

@Kosinkadink Kosinkadink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, merging

@Kosinkadink Kosinkadink merged commit 8aabe24 into master Jan 30, 2026
14 checks passed
simonri pushed a commit to simonri/ComfyUI-flash-attention-3 that referenced this pull request Feb 2, 2026
* add color type and color to rgb int node

* review fix for allowing output

---------

Co-authored-by: Jedrzej Kosinski <kosinkadink1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants