Hi all, I've made a Color Sampler asset that samples colors from an image.
Colors can be sampled with points on a line, on a grid, randomly scattered points or with input points. It's also possible to sample the most frequently occurring colors.
The sampled colors are stored in a color ramp which can be randomized.
You can download it from https://techie.se/?p=gallery&type=houdini_assets&item_nr=6.