# Color links

Here you can decide how you would like the links from your nodes to be colored.

<figure><img src="https://1632500807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ARtwElTSzdwWxw4t1pi%2Fuploads%2FSk7x2CSCw3CYsldhIMhM%2Fimage.png?alt=media&#x26;token=6a428e43-b848-4e63-a7da-aa0cbbacfac8" alt="" width="375"><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Input – Output (Gradient)" %}
Links will display a gradient effect, starting with the color of the source node and transitioning smoothly to the color of the target node. This visual representation creates a clear and aesthetically pleasing way to track the flow from one node to another.
{% endtab %}

{% tab title="Input" %}
Links in your sankey diagram will adopt the color of the input nodes they are associated with, ensuring a visually cohesive presentation.
{% endtab %}

{% tab title="Output" %}
Links will be visually distinguished by adopting the hue of their corresponding output nodes' colors. This will ensure a clear and intuitive understanding of the connection between the links and their output nodes.
{% endtab %}

{% tab title="No Color" %}
No coloring on any link, links will be shown as grey by default. This can be changed to any color of your choice.&#x20;
{% endtab %}
{% endtabs %}

<figure><img src="https://1632500807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ARtwElTSzdwWxw4t1pi%2Fuploads%2FtSe8T2KalrMXKo1oTyzr%2FSankey-Colorby-Links.gif?alt=media&#x26;token=1eb417ca-148c-4c4b-9995-b78a7fb3bdb1" alt=""><figcaption></figcaption></figure>
