Version: 
Back to list

Core :: getColorFromIndex

Synopsis

   Returns a unique color associated with an index

GUI Dialog

   

Script function

   core.getColorFromIndex(index) -> color

Parameters

   index (Int) : Index of the color (index must be less than 2^24)

Return value

   color (Color) : The unique color associated to the given index