Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!think.com!snorkelwacker.mit.edu!ira.uka.de!news From: s_rohrbacher Newsgroups: comp.sys.ibm.pc.hardware Subject: "darkening" colors on VGA cards? Message-ID: <1991Jun11.132516.5643@ira.uka.de> Date: 11 Jun 91 14:23:28 GMT Sender: news@ira.uka.de (USENET News System) Reply-To: s_rohrbacher@iravcl.ira.uka.de Organization: University of Karlsruhe, FRG Lines: 17 Hi! Is there a way to compute to a given color a darker one on a VGA card (256 color modes preferred)? E.g., given "white" as input, the algorithm should output "gray" and so on. Up to now, I'm using an ad-hoc lookup-table, but this approach relies on the standard palette... *ANY* ideas welcome, TNXIA, Kai -------------------------------------------------------------------------- Kai Rohrbacher | "(West-)Berlin war ein sur- Internet : S_ROHRBACHER@IRAV1.IRA.UKA.DE | realistischer Kaefig: die Bitnet : UKB8@DKAUNI2.BITNET | drinnen sassen, waren frei!"