Color

This section describes operators belonging to the Color category.

This page discusses:

Color Chooser

Returns the color specified in the color chooser input.

Inputs

Name Type Description
Alpha Integer

Outputs

Name Type Description
Color Color

Color Gradient

Creates a visual gradient given a list of colors and a list of ratios corresponding to the position of each color. this node returns a color corresponding to a given ratio.

Inputs

Name Type Description
Colors List List of colors the user wants to see on the gradient
Ratios List List corresponding to the ratio of each given color
Ratio Real Ratio (between 0 and 1)

Outputs

Name Type Description
Color Color

Colorize

Allows to give a color to a geometry.

Inputs

Name Type Description
Object
Color Color

Get Color Components

Returns the components of a color.

Inputs

Name Type Description
Color Color

Outputs

Name Type Description
Red Integer
Green Integer
Blue Integer
Alpha Integer
Hue Angle
Saturation Real
Brightness Real
Hexadecimal Code String

HSB Color

Creates a color from its three components hue, saturation and brightness.

Inputs

Name Type Description
Hue Angle
Saturation Real
Brightness Real
Alpha Integer

Outputs

Name Type Description
Color Color Created color

Hexa Color

Creates a color from its hexadecimal code as a string with 6 or 8 characters. 2 for red, 2 for green, 2 for blue, 2 optional for alpha. example: #ff8800 or #ff8800ff is opaque orange, #ff880000 is completely transparent, #ff88001e is transparent orange.

Inputs

Name Type Description
Hexa Code String

Outputs

Name Type Description
Color Color

RGBA Color

Creates a color from its four components red, green, blue and alpha.

Inputs

Name Type Description
Red Integer
Green Integer
Blue Integer
Alpha Integer

Outputs

Name Type Description
Color Color Created color