Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-model
/
org.meshtastic.core.model
/
nodeColorsFromNum
node
Colors
From
Num
fun
nodeColorsFromNum
(
nodeNum
:
Int
)
:
Pair
<
Int
,
Int
>
(
source
)
Derives a unique color pair from a node number. Returns (foreground, background) as @ColorInt.