# How to read Color Table of Indexed Color mode document

**URL:** <https://forums.creativeclouddeveloper.com/t/how-to-read-color-table-of-indexed-color-mode-document/7295>\
**Category:** Photoshop\
**Created:** [December 31, 2023, 8:17pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-read-color-table-of-indexed-color-mode-document/7295 "2023-12-31T20:17:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@Patrick](https://forums.creativeclouddeveloper.com/u/Patrick)\
**Post date:** [December 31, 2023, 8:17pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-read-color-table-of-indexed-color-mode-document/7295/1 "2023-12-31T20:17:18Z")

</div>

I’m trying to read document colors (Indexed color mode) using BatchPlay from Color Table (Image/Mode/Color Table…), but have no luck.

It’s possible to set the Color Table, Alchemist plugin records changing the colors, but when editing the code from “set” to “get” it doesn’t work…

Does anybody know if this is possible?

Thanks,

Patrik

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [December 31, 2023, 9:28pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-read-color-table-of-indexed-color-mode-document/7295/2 "2023-12-31T21:28:47Z")

</div>

I don’t think there is much support. You are not the first on this forum asking it.

---

<div class="post-metadata">

**Author:** ![JasonM](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JasonM](https://forums.creativeclouddeveloper.com/u/JasonM)\
**Post date:** [December 31, 2023, 9:34pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-read-color-table-of-indexed-color-mode-document/7295/3 "2023-12-31T21:34:10Z")

</div>

What if you save it as a .act and parse the text to get the blocks of 6 letters for each color?

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [December 31, 2023, 9:36pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-read-color-table-of-indexed-color-mode-document/7295/4 "2023-12-31T21:36:05Z")

</div>

I checked legacy save for web now and when you play it then it has color table as raw data type in descriptor… so maybe you could save it omiting color table preferences and see what you get in batchPlay returned value. Not ideal but at least something.
