getColour

fun getColour(index: Int): Int

Gets the colour at index index, or -1 if it doesn't exist.

Return

colour at that index, or -1 if it doesn't exist

Parameters

index

the index of the colour

Throws

if the index is below 0, or >= 5