This page makes use of the w3color.js library and builds off of the code on their page. The layout has been achieved using tailwindcss.
w3color.js