Available on: atari atarixl vic20 cpc zx plus4 pc128op mo5 to8 coleco msx1 sc3000 sg100 c128z c64 c128 ✓ verified

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