# UI.ColorInput Data

## 1. Description

This node is to create a button on UI.MultipleInputForm++ forms that will trigger a color selection dialog. \
**WARNING : This input is only available for Revit 2017 or more recent.**

![](/files/-LOD-WT_8-cft-Hhcdh9)

## **2. Inputs**

* **InputName:**\
  This input lets you label the button on the form. All it takes is a string. If no input name is set, the button will appear wider.

![](/files/-LOD0yL-T1uVw9iPKERU)

* **Button Text:**\
  This input lets you set the text displayed on the button. All it takes is a string.The default value is "Select Color".

![](/files/-LOD1JFJCYzMO1r46gNb)

## 3. Output

The user input will be returned by UI.MultipleInputForm++  as a Autodesk.Revit.DB.Color. There are several ways to convert this value to a Dynamo color. One of them is to use the "Color.ToDynamoColor" node from Clockworks (by Andreas Dieckmann).

![](/files/-LOD38MvqXlXLVrfz-j3)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://datashapes.gitbook.io/primer/ui/colorinput-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
