$ocolor » History » Version 2
Per Amundsen, 11/08/2018 09:23 PM
| 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 | 2 | Per Amundsen | _See also [[Config_File_Colors]]._ |
| 8 | 1 | Per Amundsen | |
| 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> |