ReferenceScript nodesMath › Colour
Split Colour
Its R, G, B and A, 0 to 1.
ƒSplit Colour
ColourR
G
B
A
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Colourcolour | colour and alpha | "#7ce695ff" | – |
Outputs
| Pin | Type |
|---|---|
Rred | number |
Ggreen | number |
Bblue | number |
Aalpha | number |
In a graph
◆On Scene Start
ƒSplit Colour
ColourR
G
B
A
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.