This shows you the differences between two versions of the page.
built_in:hue [2018/05/20 19:47] 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 ^ | ||
- | | 150 to 180 | Orange | ||
- | | 90 to 150 | Pink | | ||
- | | 30 to 90 | Purple | ||
- | | -30 to 30 | Blue | | ||
- | | -90 to -30 | Green | | ||
- | | -150 to -90 | Yellow | ||
- | | -180 to -150 | Orange | ||
- | |||
- | ====Example==== | ||
- | <code javascript> | ||
- | |||
- | //Orange title and horizontal line | ||
- | function OnStart() | ||
- | { | ||
- | app.Alert( "Hello World!", | ||
- | } | ||
- | |||
- | </ | ||
- | |||
- | {{ https:// | ||
- | |||
- | |||