Color (vuo.color)

These nodes are for working with colors.

A color can be represented in various ways by these nodes:

These nodes treat colors the same regardless of whether they were created using HSL, RGB, or CMYK. For example, you can connect the output port of a Make HSL Color node to any input port that accepts a color, including a Get RGB Color Values node.

In addition to the numbers representing HSL, RGB, or CMYK, a color can be described by a fourth number representing its opacity (also known as alpha). This number also ranges from 0 to 1, with 1 being fully opaque and 0 being fully transparent.

For nodes such as Sort List and Is Less Than that impose an ordering among colors, the sort is performed primarily on the colors' respective R-values, secondarily on their G-values, next on their B-values, and finally on their opacity values.



Example compositions:



Nodes: