Hex colors as int

why is this true?

trace (0x00CC33 is int);

Is this just an exception because it knows what i am doing and it’s nice to store colors as ints?

By definition I would think it to be false, just as this nonsence throws an error

trace (0j00CC33 is int);