This is the source code for https://cy.mk, a color picker tool that allows users to generate color schemes using various tecnniques:
Use various 'shapes' to pick your color schemes.
Load a painting and find out what 'shape' or section of the color wheel the original artist used for painting the image.
Pick colors directly from an image
Use various color harmonies to pick colors.
Export Palettes to a file in the cross platform Adobe Swatch Exchange file format