[Grasshopper] How to use Colour to set color information

[Grasshopper] How to use Colour to set color information Grasshopper component EN

This article explains how to use Colour to set color information.

Colour1
Colour2

On the Grasshopper, it is represented by either of the two above.


↑Youtube Channel

setting color information

Color can be used to set color information.

setting color information

In the example in the image above, color information is set by connecting the colors created by Colour Swatch to Colour.

data output

Looking at the data output by Panel, we see that it outputs a numerical value that looks like coordinates.

In the example above, each RGB value is output.

Multiple color data

Multiple color data can also be stored in this way.

Colors can also be set directly

Colors can also be set directly in Colour.

By right-clicking on Colour and selecting Colour, a color can be selected.

Manage Colour collection

Set color data can also be edited.

Right-click on Colour and select Manage Colour collection.

screen

You will see a screen like this.

If color data is already set, it will be displayed on the left.

Click on the set data

Click on the set data, and the editing screen will appear on the right.

changed

As a test, we changed the values of Alpha and Blue to 100.

Then, the color could be changed as shown here.

add

Additional colors can also be added.

Click on the green icon in the upper left corner.

new color data was created

Then, new color data was created.

However, in the initial state, a warning mark appears, so you need to edit some numerical value.

edit

In this case, I edited Alpha to 100, and the warning mark disappeared.

multiple data are output

If you check the output data in Panel, you will see that multiple data are output.

delete

You can also delete colors.

With the color data you want to delete selected, click the red icon in the upper right corner.

deleted

As you can see, the color data has been deleted.

List of Grasshopper articles using Colour component↓

Comment

Translate »