ReferenceScripting APIMotionColourfromHsv
MotionColour.fromHsv
methodA colour from its hue, saturation and value.
| Name | fromHsv |
|---|---|
| Kind | method of MotionColour |
| Called as | colour.fromHsv(…) |
| As a node | HSV to Colour (logic graph) |
| Since | 0.4 |
Syntax
fromHsv( h: number, s: number, v: number): stringParameters
| Name | Type | Description |
|---|---|---|
h | number | Hue, 0 to 1 round the wheel |
s | number | Saturation, 0 to 1 |
v | number | Value, 0 to 1 |
Returns
string: the colour.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.