$ocolor » History » Version 1
Per Amundsen, 11/24/2016 11:52 AM
1 | 1 | Per Amundsen | _Added in 2.7_ |
---|---|---|---|
2 | |||
3 | *$ocolor(N)* |
||
4 | |||
5 | Returns the Nth color index of the internal color list as a [[$rgb]] value. |
||
6 | |||
7 | _See also [[Extra Colors]]._ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | N - The Nth color to retrieve. |
||
12 | |||
13 | *Properties* |
||
14 | |||
15 | .rgb - returns the color in rrr,ggg,bbb format. |
||
16 | |||
17 | *Example* |
||
18 | <pre> |
||
19 | ; Get the Editbox color |
||
20 | //echo -ag Editbox color is $ocolor(30).rgb |
||
21 | </pre> |