Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: bj@oak.UUCP (Bjoren Davis) Newsgroups: comp.windows.x Subject: Questions about X Colors Message-ID: <9104291950.AA00569@oak.com> Date: 29 Apr 91 19:50:38 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 14 I have a number of questions concerning color under X that I was hoping someone might be able to help me out on: 1) How can I determine the precision of the RGB values? That is, how many high bits are actually valid? 2) How can I figure out if a pixel is read only or read/write (besides trying to re-write it) 3) How can I get statistics about the cells in the current colormap? For example, how many are read/only, how many are allocated read/write for another client, how many my client has allocate read/write? Thanks muchly. --Bjoren Davis (bj@oak.com)