User Tools

Site Tools


built_in:hue

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
built_in:hue [2018/05/20 19:02]
geez437 [Hue]
built_in:hue [2018/05/21 03:51] (current)
Line 1: Line 1:
 =====Hue===== =====Hue=====
 +The argument **hue** is used in some methods to change the default color.
  
-====Most important values====+<code> app.Alert( text, title, options, hue );</code> 
 + 
 +For example in the [[built_in:alert|method (alert)]] 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==== ====Example====
Line 13: Line 27:
  
 </code> </code>
 +
 +{{ https://i.imgur.com/TUgy5Cd.jpg }}
 +
 +
  
built_in/hue.1526842934.txt.gz · Last modified: 2018/05/21 03:02 (external edit)