Skip to main content
Skip table of contents

Data Converter

The »Data converter« logic element converts between different formats and representations of a type.

Contents


Inputs and Outputs

The number of inputs and outputs depends on the selected data type.

Inputs

Outputs

  • based on the selected data type


Configuration

Choose the desired type of conversion, you can find the options below.

Colors

The following representations of color values (color spaces) are supported

  • Color (combined RGBW value in one number)
    This type is intended for simple passthrough and processing within logics.

  • RGB (red, green, blue)
    All three values are between 0 and 255 each

  • RGBW (red, green, blue, white)
    All four values are between 0 and 255 each
    In addition to the three basic colours, there also is a white channel.

  • HSB (»Hue«, »Saturation«, »Brightness«)
    All three values are of type Float.
    The HSB colour range is used by the Philips® hue lights, for instance.

In general, conversion in any direction is possible. The conversion may entail differences, e.g. when converting from HSB to RGBW and back to HSB.

The methods available for converting between HSB and RGB(W) are not lossless. When converting RGBW in RGB, only the white value will be discarded.

When converting RGB to RGBW/colour, a white value is determined. The three basic colours remain unaffected.

///

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.