Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用任何可用的 jquery 颜色选择器。当用户选择一种颜色时,我必须将其与最接近的可用颜色匹配并查询数据库。问题是,对于给定的颜色代码,我如何将它与可用颜色列表中最接近的颜色代码匹配?