This shows you the differences between two versions of the page.
built_in:hue [2018/05/20 19:42] geez437 [Table] |
built_in:hue [2018/05/21 03:51] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Hue===== | ||
- | The argument **hue** is used in some methods to change the default color. | ||
- | |||
- | < | ||
- | |||
- | For example in the method above, hue changes the color of the title and the horizontal line below of the alert. | ||
- | ====Values==== | ||
- | Hue is an integer between -180 and 180. The default value is 0 (blue). | ||
- | |||
- | ^ Value ^ Color ^ | ||
- | | 180 | Orange | ||
- | | 120 | Pink | | ||
- | | 60 | Purple | ||
- | | 0 | Blue | | ||
- | | -60 | Green | | ||
- | | -120 | Yellow | ||
- | | -180 | Orange | ||
- | |||
- | ====Example==== | ||
- | <code javascript> | ||
- | |||
- | //Orange title and horizontal line | ||
- | function OnStart() | ||
- | { | ||
- | app.Alert( "Hello World!", | ||
- | } | ||
- | |||
- | </ | ||
- | |||
- | {{ https:// | ||
- | |||
- | |||