bitflag enum ui.ColorFlags

bitflag enum ColorFlags {
    Undefined = 0x80000000,
    Index     = 0x40000000,
    IndexMask = 0x3fffffff,
    RgbMask   = 0x00ffffff,
};