First time I made such table was in 2004 (15 years old) when I spent few days making in Paint an image with 48 hue levels and 32 lighting levels (Excel 97-2003 was limited to 56 colors).
In 2018 I remade table in Excel, coloring cells background and writing RGB values in them for easier use, the job took about 4 hours, 48 hue levels and 16 lighting levels. In 2019 I discovered how to make Scalable Vector Graphics and made a HTML page of HEX color codes.
You can also download Excel table for FREE and play with it (it contains both RGB and HEX codes).
Don’t forget to check other databases made by me (100+ databases).