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.
我的脚本中有这个数组
colors: ['#4285F4', '#007E33', '#FF8800', '#ff4444']
我需要为每个元素固定颜色,例如男性颜色:蓝色女性颜色:红色