@Gargron no idea how to implement this as code, but maybe find the color with the highest difference in value between the lowest and highest of RGB? Like the most attractive would be something where one of the values is 255 and another is 0, and the least attractive would be any color where all three values are the same