RUAL Documentation

hex to rgb

This block is part of the value group and was last modified in core v12.0.6.

hex to rgb v12.0.6

Converts a hex color code into rgb/a

Pin Pin Type Default
hexrequired
Hex color code to convert. Accepts: rgb, #rgb, rrggbb, #rrggbb, rrggbbaa, #rrggbbaa
value
Pin Pin Type Example
success
condition
rgb
Returns the color code in the following format: rgb()
value
rgba
Returns the color code in the following format: rgba()
value
rgba
Returns the color code in the following format: [r, g, b, a]
array

Core Releases

v12.0.6 This block was introduced in v12.0.6, click here to see the release notes.
Back to value Return to the main group to view all sub-groups Back to value Return to the group to view all blocks within this group