Produces an 8x8 dither pattern for an RGB colour using the algorithm from Windows 3, as given in US Patent 5485558.
By Michael Homer
Source code on GitHub