Skip to main content

Ae Color

Color values returned by blocks

Blocks return label colors as hex strings (like #ff0000 for red), but color values of properties as a list of four numbers in the range 0 to 1 (representing, r,g,b,a so that [1,0,0.5,1] is 100% red, 0% green, 50% blue)

Specifying Color Values

Blocks support time values in all of the following formats:

  • hex string (like #ff0000 or short form #f00)
  • a list (array) of three numbers in the range 0 to 1 (representing, r,g,b, so [1,0,0.5] is 100% red, 0% green, 50% blue)
  • a color name like red, sandstone. In addition to the default label color names of Ae, css color names like aliceblue are also supported.

Convert Color

Block ae_color_converter

With this block you can convert a color that is given in any format (name, hex string or array) into either the hex or the array format.