Skip to content

ColorHSL . (ColorHSL to Color)

Implicitly converts a ColorHSL in a .Net library color.

Namespace: Rhino.Display

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public static implicit operator Color (
ColorHSL hsl
)

Parameters

hsl

Type: Rhino.Display.ColorHSL
A HSL color.

Return Value

Type:Color
A ARGB .Net library color.