Nodes/MdColorMod/Primitive Color RGB (MD)
ComfyUI Node

Primitive Color RGB (MD)

Converts RGB values to an integer color code and a hexadecimal string representation.

By MdONeilsl·Created 2 months ago·Updated about a month ago· 0
Primitive Color RGB (MD)
    • int
    • HEX
    Red0
    Green0
    Blue0
    Categorymd/color

    Inputs (3)

    NameTypeDefaultDescription
    RedFLOAT00–255Red component value (0-255).
    GreenFLOAT00–255Green component value (0-255).
    BlueFLOAT00–255Blue component value (0-255).

    Outputs (2)

    NameTypeDescription
    intINTPacked 24-bit integer color value (0-16777215).
    HEXSTRINGHexadecimal color string (e.g., #FF0000).