Color of a screen pixel: Difference between revisions
Content added Content deleted
(Added BBC BASIC) |
|||
Line 20: | Line 20: | ||
=={{header|BBC BASIC}}== |
=={{header|BBC BASIC}}== |
||
In [[BBC BASIC for Windows]] you can read either the 'logical colour' (palette index) or the 'true colour' (24-bit RGB value). |
In [[BBC BASIC for Windows]] you can read either the 'logical colour' (palette index) or the 'true colour' (24-bit RGB value). |
||
<lang |
<lang bbcbasic> palette_index% = POINT(x%, y%) |
||
RGB24b_colour% = TINT(x%, y%)</lang> |
RGB24b_colour% = TINT(x%, y%)</lang> |
||