Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Rick Murray Newsgroups: comp.sys.acorn.programmer Subject: Re: Simple programming query Date: Sat, 13 Jan 2018 11:16:34 +0100 (CET) Organization: Untidy Lines: 18 Message-ID: <56b9b38ce5Rick@bogus.email.address> References: <42169e6d-3096-4930-8c88-e7b69efc9c2c@googlegroups.com> <9bcd3908-45b3-4aca-bdff-461a2903488f@googlegroups.com> <56b96cd21fbasura@invalid.addr.uk> NNTP-Posting-Host: RrD5iSoe3+na6cKTUDsBBQ.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: Pluto/3.16 (RISC OS/5.23) NewsHound/v1.52-32 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.sys.acorn.programmer:5365 In article <56b96cd21fbasura@invalid.addr.uk>, Richard Ashbery wrote: > TINT keyword. This gives 256 possible colour variations (64 different > colours multiplied by 4 shades). Although the TINT keyword can handle > 256 variations it only has 4 distinct levels..... You can see this semi-visually by looking at the default Paint palette for a 256 colour sprite, where the colours are displayed in groups of four (tints). Boring code of how it works here: https://www.riscosopen.org/viewer/view/~checkout~/castle/RiscOS/Sources/Apps/Paint/c/Colours?rev=4.8 -- ___ /__/ o __ /_ / \ / /__ / \ (heyrick one nine seven three at yahoo dot co dot uk)