Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!apple!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Quick way to get pixel from name Message-ID: <8905111235.AA00693@expire.lcs.mit.edu> Date: 11 May 89 12:34:58 GMT References: <723@sdrc.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 5 I need a quick way to get the pixel number of a named color. At the Xlib level, use XAllocNamedColor. Within Xt, you can use String to Pixel resource conversion.