ColorCMYKCreateFromHSL Method |
Constructs the nearest CMYK equivalent of an HSL color.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static ColorCMYK CreateFromHSL(
ColorHSL hsl
)
Public Shared Function CreateFromHSL (
hsl As ColorHSL
) As ColorCMYK
Parameters
- hsl
- Type: Rhino.DisplayColorHSL
Target color in HSL space.
Return Value
Type:
ColorCMYKThe CMYK equivalent of the HSL color.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also