ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMColor Class / CreateHSLColor Method
Hue
Saturation
Lightness
Alpha

In This Topic
    CreateHSLColor Method
    In This Topic
    Creates a new HSL color from input parameters.
    Syntax
    public static CIMColor CreateHSLColor( 
       double h,
       double s,
       double l,
       double alpha
    )
    Public Shared Function CreateHSLColor( _
       ByVal h As Double, _
       ByVal s As Double, _
       ByVal l As Double, _
       Optional ByVal alpha As Double _
    ) As CIMColor

    Parameters

    h
    Hue
    s
    Saturation
    l
    Lightness
    alpha
    Alpha

    Return Value

    An HSL color
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also