256 Colour Tutorial Part 1(V2.62): Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 2: Line 2:
(by [[user:Gilbert|Gilbert Cheung]])
(by [[user:Gilbert|Gilbert Cheung]])


==Knowing 256 colour modes==
First, here are some basic knowledge about 256 colour modes. You may skip the following paragraph if you think you know enough about them already.
First, here are some basic knowledge about 256 colour modes. You may skip the following paragraph if you think you know enough about them already.


==Knowing 256 colour modes==
Under 256 (8-bit) colour modes, each pixel on screen is stored as one byte (8-bit). Unlike the "'''Direct Colour'''" modes (15/16-bit hi-colour and 24/32-bit true-colour modes, 8-bit colour mode is an "'''Indexed Colour'''" mode) the contents of the 256 colour slots in 8-bit modes need ''not'' be fixed, but instead, each of the slots can be set to ''any'' of the available 262,144 colours at one time (the VGA/MCGA base palette), so you can make variations to the colours displayed to suit your needs.
Under 256 (8-bit) colour modes, each pixel on screen is stored as one byte (8-bit). Unlike the "'''Direct Colour'''" modes (15/16-bit hi-colour and 24/32-bit true-colour modes, 8-bit colour mode is an "'''Indexed Colour'''" mode) the contents of the 256 colour slots in 8-bit modes need ''not'' be fixed, but instead, each of the slots can be set to ''any'' of the available 262,144 colours at one time (the VGA/MCGA base palette), so you can make variations to the colours displayed to suit your needs.