HexToRGB_v2 Op
Converts a hex color like `#ff0000` to number values
Summary (oneliner)
The resulting colors will be in range [0..1]
.
If Bytes
is set to true
the colors will be in range [0..255]
.
Full Name
- Ops.Color.HexToRGB_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
Hex (String)
A hex color, e.g. #ff0000
or 00ff00
(you can omit the #
character if you want)
Bytes (Number:boolean )
If true
the output will be in range [0..255]
, otherwise [0..1]
OUTPUT PORTS
R (Number)
G (Number)
B (Number)