Is there a kind of logic between the hardware color values (Gate Array) as it is the case with those used in BASIC?
Actually I'd like to play with the RGB values. It's easy with the BASIC values, but I don't see any logic with the hardware ones, forcing me to use a conversion table.
It's described in Amslive :)
Base = &54 (Blue, Red, Green all at 0)
Colors 4, 13, 22 are exceptions.
My brother jealously keeps the whole collection to learn to read to his son :)
Thank you for your answer! However we always have to start from &54 to modify the RGB values. Does a solution exist starting from any color? I guess not otherwise life would be much better!
? Eg from 16 (&47) you want to add some more green and go to 25 (&43): that's -4 as expected.
BTW 7 is also an exception.
But you might be better off using a table anyway to easily deal with clipping for instance.
« But you might be better off using a table anyway to easily deal with clipping for instance »
That's the solution I chose as these exceptions are not convenient at all, and it perfectly works!
Using a cpc+ in this case is easier... also doing a table on cpc old is the most clever used technic. Maybe someone could share these tables (starting from black, white, blue, red,...).
Supersly, Barjack, we are waiting for you...