Skip to main content

color()

Applies a color to the last selection.

Returns: SceneObject

tip

See the guide for detailed usage examples.

Signatures

color(color: StringParam): SceneObject

Applies a color to the last selection.

ParameterTypeDescription
colorStringParamThe color value (CSS color string)

color(color: StringParam, selection: SceneObject): SceneObject

Applies a color to the given selection.

ParameterTypeDescription
colorStringParamThe color value (CSS color string)
selectionSceneObjectThe face or edge selection to color