# Hex colors as int

**URL:** <https://forum.kirupa.com/t/hex-colors-as-int/326994>\
**Category:** Uncategorized\
**Created:** [January 29, 2012, 2:57pm UTC](https://forum.kirupa.com/t/hex-colors-as-int/326994 "2012-01-29T14:57:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbo](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tbo](https://forum.kirupa.com/u/tbo)\
**Post date:** [January 29, 2012, 2:57pm UTC](https://forum.kirupa.com/t/hex-colors-as-int/326994/1 "2012-01-29T14:57:34Z")

</div>

why is this true?

```auto
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

```auto
trace (0j00CC33 is int);

```
