View Single Post
Old 17 June 2017, 01:15   #12
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Quote:
Does anyone have any ideas how I can find the grey scale equivalent of a colour?
(R + G + B) / 3


Palette prefs sets the first four and the last four pens of the screen. So if your screen has a depth of eight colours, you can define all eight pens. But if your screen has more colours, pens 4 - 7 are random.

If you don't want to dictate the screen's palette, then you should stick with
0 = background / transparent
1 = black
2 = white
3 = some color
thomas is offline  
 
Page generated in 0.06727 seconds with 11 queries