HexToRGB_v2 Op
Converts a hex color like #ff0000
to number values
Summary (oneliner)
<p>The resulting colors will be in range <code>[0..1]</code>. If <code>Bytes</code> is set to <code>true</code> the colors will be in range <code>[0..255]</code>.</p>
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)
<p>A hex color, e.g. <code>#ff0000</code> or <code>00ff00</code> (you can omit the <code>#</code> character if you want)</p>
Bytes (Number:
<i>boolean</i>
)<p>If <code>true</code> the output will be in range <code>[0..255]</code>, otherwise <code>[0..1]</code></p>
OUTPUT PORTS
R (Number)
G (Number)
B (Number)