code property

int code
final

The OSC selector identifying which color was queried.

Dynamic colors: 10 = foreground, 11 = background, 12 = cursor, 13 = mouse foreground, 14 = mouse background, 17 = highlight background, 19 = highlight foreground. This field is what disambiguates otherwise identically-shaped replies (e.g. fg vs bg) when queries are batched.

Implementation

final int code;