Xamarin.Forms.Color.WithHue Method
Returns a color with modified Hue, but keeping the same Saturation and Luminosity.

Syntax

public Color WithHue (double hue)

Parameters

hue
The modified Hue.

Returns

A color.

Remarks

The Hue is clamped to the inclusive range [0,1]. This method is useful for creating color palettes.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0