Indexed or RGB color scheme

Blitz3D Forums/Blitz3D Beginners Area/Indexed or RGB color scheme

DaxTraj(Posted 2004) [#1]
Does Blitz offer a choice of indexed or RGB color schemes ?


Rob Farley(Posted 2004) [#2]
Nope, RGB only.

That said you could create an array to create indexed colours...

dim palette(xx,2)

data r,g,b,r,g,b,r,g,b,r,g,b

for n=0 to xx
read palette(n,0),palette(n,1),palette(n,2)
next



DaxTraj(Posted 2004) [#3]
thanks for the info