MATLAB Programming/Psychtoolbox/Screen Commands/GetClut

Usage:

clut=Screen(windowPtrOrScreenNumber,'GetClut',[bits])

Get the color lookup table (CLUT) of a video screen. The returned clut is a 3-column matrix with one row per RGB entry in the hardware CLUT. The clut values will be in the range 0 to 255 for an 8-bit CLUT.