values to RGB

The values to RGB node is a color construction tool. It takes three individual numerical inputs representing Red, Green, and Blue channels and combines them into a single RGB color object and a hexadecimal string.
When to use this node:
* Custom Color Mixing: Driving a light's color based on three separate player-controlled dials or sliders.
* Sensor Aggregation: Taking raw R, G, and B data from external sensors or MQTT topics and packaging them into an ERGS-compatible color format.
* Percent-Based Control: By enabling the in percents property, you can control colors using a 0–100 scale, which is often more intuitive for manual UI sliders.
Pro Tip:
The hex output is particularly useful for web-based integrations, allowing you to easily pass the newly created color to custom CSS or JavaScript dashboards.
Connectors in
- R [type: integer]
- G [type: integer]
- B [type: integer]
Connectors out
- RGB [type: rgb]
- hex [type: string]
Node properties
- in percents [type: bool]