Project

General

Profile

$ocolor » History » Revision 5

Revision 4 (Per Amundsen, 11/08/2018 09:26 PM) → Revision 5/6 (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* 
 <pre> 
 ; Get the Editbox color 
 //echo -ag Editbox color is $ocolor(30).rgb 
 </pre>