Project

General

Profile

$ocolor » History » Version 5

Per Amundsen, 11/09/2018 10:43 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 4 Per Amundsen
_See also [[Config File Colors]], [[/echo]]._
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 5 Per Amundsen
.hex - returns the color in hex format.
17 1 Per Amundsen
18
*Example*
19
<pre>
20
; Get the Editbox color
21
//echo -ag Editbox color is $ocolor(30).rgb
22
</pre>