WhiteIndex
>Psychtoolbox>PsychOneliners
color=WhiteIndex(windowPtrOrScreenNumber)
Returns the intensity value to produce white at the current screen depth,
assuming a standard color lookup table for that depth. E.g.
white=WhiteIndex(w);
Screen(w,’FillRect’,white);
windowPtrOrScreenNumber must be a screen number or a handle for
an onscreen window. It won’t work on offscreen windows or textures.
See BlackIndex.
Path Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychOneliners/WhiteIndex.m