Available on: all targets
See also: COLOR SHADES (constant)

RGB

The RGB function allows you to obtain the equivalent value of a color, given its red, green and blue components. The value of this function, where it is supported by the target, can be used in place of a nominal color. Where it is not defined, it always returns a value of zero, which may (or may not) correspond to a valid color.

SYNTAX

 = RGB( red, green, blue )


Legend
  • id : identifier
  • type : datatype
  • v : value
  • "..." : string
  • [...] : optional

Any problem?

If you have found a problem with this keyword, if you think there is a bug or, more simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!

open an issue BACK TO KEYWORDS