# 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.**

![](https://238629208-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO8n4ithPJG3iCqU7ir%2F-LOCzKy1tjjHoPaOUT4r%2F-LOD-WT_8-cft-Hhcdh9%2Fimage.png?alt=media\&token=96c97ad2-2bfb-4dee-9855-e26137c2c404)

## **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.

![](https://238629208-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO8n4ithPJG3iCqU7ir%2F-LOCzKy1tjjHoPaOUT4r%2F-LOD0yL-T1uVw9iPKERU%2Fimage.png?alt=media\&token=c7fbc89d-ae10-4bf8-b93b-d8f4d7016e92)

* **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".

![](https://238629208-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO8n4ithPJG3iCqU7ir%2F-LOCzKy1tjjHoPaOUT4r%2F-LOD1JFJCYzMO1r46gNb%2Fimage.png?alt=media\&token=f3deca2e-69b8-4ab0-bb3b-4a56958df6d2)

## 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).

![](https://238629208-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO8n4ithPJG3iCqU7ir%2F-LOD24LUhw5wq6y7pKDc%2F-LOD38MvqXlXLVrfz-j3%2Fimage.png?alt=media\&token=5ce43a1d-f294-459d-b860-ef104bd3f888)
