# To Hex

## Description

Gets the Hex value of a color.

{% tabs %}
{% tab title="Preview" %}
![](https://3998772548-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8UMWfS21dL8V5gHso8pd%2Fuploads%2FMhqYi6jesNN7cLvcFU7h%2FColorPlus-Hex.png?alt=media\&token=9c191186-bf76-4b70-8e40-fe6a1b90c489)
{% endtab %}

{% tab title="Location" %}
**Name** | To Hex

**Nickname** | ToHex

**Tab** | Display

**Panel** | Colour

**Division** | 2
{% endtab %}

{% tab title="Inputs" %}
**C** | **Color** (*Colour*) | Input Color
{% endtab %}

{% tab title="Ouputs" %}
**H** | **Hex** (*Text*) | Hex string
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage

The current version of the tool returns a hex code in all caps beginning with a hash (#).

![](https://3998772548-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8UMWfS21dL8V5gHso8pd%2Fuploads%2FGgdkUesxTFTTSPps5Tks%2FHex.png?alt=media\&token=0b1de069-eaa0-4f34-933c-6fbc869ab430)
