Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Color.HSVToRGB

public static Color HSVToRGB(float H, float S, float V);
public static Color HSVToRGB(float H, float S, float V, bool hdr);

Parameters

H Hue [0..1].
S Saturation [0..1].
V Value [0..1].
hdr Output HDR colours. If true, the returned colour will not be clamped to [0..1].

Returns

Color An opaque colour with HSV matching the input.

Description

Creates an RGB colour from HSV input.