Function Block HSV2COLOR

The Function Block HSV2COLOR converts an HSV color to an RGB color.

Input Hue

The input defines the angle of the color circle. This is specified as a number between 0 and 359. The value may exceed 359. The circle will then continue to be calculated.

Input Saturation

The input specifies the saturation of the color. If the value is 0, the input color is white, or at 100 the full color is output.

Input Value

The input specifies the value or brightness of the color. The value ranges between 0 and 100.

Output #RGB

Returns the calculated color as a string in the format '#RRGGBB'.

Output R

Returns the calculated red color as a number between 0 and 255.

Output G

Returns the calculated green color as a number between 0 and 255.

Output B

Returns the calculated blue color as a number between 0 and 255.

See Also