ColorHSL Conversion (Color to ColorHSL) |
Implicitly converts from a
Color to a ColorHSL
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static implicit operator ColorHSL (
Color color
)
Public Shared Widening Operator CType (
color As Color
) As ColorHSL
F# does not support the declaration of new casting operators.
Parameters
- color
- Type: Eto.DrawingColor
RGB color value to convert
Return Value
Type:
ColorHSLA new instance of a ColorHSL that represents the RGB
color value
See Also