Project

General

Profile

Actions

$ocolor » History » Revision 5

« Previous | Revision 5/6 (diff) | Next »
Per Amundsen, 11/09/2018 10:43 AM


Added in 2.7

$ocolor(N)

Returns the Nth color index of the internal color list as a $rgb value.

See also Config File Colors, /echo.

Parameters

N - The Nth color to retrieve.

Properties

.rgb - returns the color in rrr,ggg,bbb format.
.hex - returns the color in hex format.

Example

; Get the Editbox color
//echo -ag Editbox color is $ocolor(30).rgb

Updated by Per Amundsen over 5 years ago · 5 revisions

Also available in: PDF HTML TXT