function availableColorCount
source · line 33public
public fun availableColorCount(): Long
Estimates color capability from COLORTERM or TERM: 65535 for true-color markers, 256 for a 256-color marker, otherwise 8. This does not probe the terminal.