This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
color [2017/08/14 12:52] – justin | color [2017/10/18 08:11] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | A **color** is a scripting data type that, as the name implies, represents an RGB color value and is written as //color[r, g, b]//. The The R, G, and B values correspond to the intensity of the red, green, and blue elements of the color and can range from 0 to 255. | + | A **color** is a scripting data type that, as the name implies, represents an RGB color value and is written as //color[r, g, b]//. The R, G, and B values correspond to the intensity of the red, green, and blue elements of the color and can range from 0 to 255. |
====Example: | ====Example: | ||
Line 9: | Line 9: | ||
</ | </ | ||
- | The example above represents full intensity blue. The RGB values can be taken from one of the built-in color pickers (for example, by editing a palette color on the [[Editor Tools]] tab), or from many common image editing applications like Microsoft Paint. | + | The example above represents full intensity blue. The RGB values can be taken from one of the built-in color pickers (for example, by editing a [[palette]] color on the [[Editor Tools]] tab), or from many common image editing applications like Microsoft Paint. |
- | When working in the visual Script Editor, any functions | + | When working in the visual |
{{: | {{: |