[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# Color collections\n\n| **Note:** This page is part of the [Retrieve and chart data](/looker/docs/retrieve-and-chart-data) learning series.\n\nA color collection is a set of coordinating palettes that work well together. Looker contains 15 built-in color collections, which lets users create themed visualizations and dashboards.\n\nEach collection contains categorical, sequential, and diverging palette types. When you create a new visualization and select a color collection, Looker defaults to the palette type that works best for that type of visualization. However, you can change to a different palette in the collection or make edits to the palette you're using.\n\nLooker admins can [set a default color collection](/looker/docs/admin-panel-general-settings#setting_a_default_color_collection) for all visualizations. Admins can also [create custom color collections](/looker/docs/admin-panel-general-settings#creating_a_custom_color_collection).\n\nColor collection IDs\n--------------------\n\nColor collection IDs and palette IDs can be used in LookML dashboards to apply colors to various parts of visualizations. Collection IDs and palette IDs for any new custom color collections are based on each collection's name. This lets LookML dashboards that use those collections render consistently across instances if both instances have the same custom collections named identically.\n\nFor example, a custom color collection with the name Company Custom Colors would have the following IDs:\n\n- **collection ID** : `company-custom-colors`\n- **categorical palette ID** : `company-custom-colors-categorical-0`\n- **sequential palette ID** : `company-custom-colors-sequential-0`\n- **diverging palette ID** : `company-custom-colors-diverging-0`\n\nBecause IDs are based on collection names, no two collections on a single instance can have the same name. Additionally, the collection ID and palette IDs don't change if a color collection's name is changed.\n\nLooker's built-in color collections receive instance-specific alphanumeric IDs.\n\n\nLooker's color collection palettes\n----------------------------------\n\nEach color collection contains categorical, sequential, and diverging palettes.\n\n- Categorical palettes are useful for illustrating the differences between series when the data isn't inherently ordered.\n- Sequential palettes are useful for visualizing ordered or numeric data that spans from low to high values.\n- Diverging palettes are useful for displaying data that has a meaningful or neutral central value, such as zero, with positive and negative values on either side.\n\nThe Dalton color collection accommodates various forms of color vision deficiency."]]