GitHub user dosubot[bot] added a comment to the discussion: Custom Colour Pallet

<!-- Answer -->
You don't need exactly 13 color codes for a custom color palette in Superset. 
You can use any number of colors—palettes in Superset vary in length, for 
example, some have 10, 12, or 20 colors. There are no restrictions in the code 
or documentation that require a specific number of colors in your palette. You 
can see examples of palettes with different lengths in the Superset codebase, 
like the "Lyft Colors" palette with 10 colors and the "Superset Colors" palette 
with 20 colors 
[(example)](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/color/colorSchemes/categorical/superset.ts).


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/1434ae7e-0c53-4667-8cbd-01db61075090?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/1434ae7e-0c53-4667-8cbd-01db61075090?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/1434ae7e-0c53-4667-8cbd-01db61075090?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/1434ae7e-0c53-4667-8cbd-01db61075090?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/1434ae7e-0c53-4667-8cbd-01db61075090?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/1434ae7e-0c53-4667-8cbd-01db61075090?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/1434ae7e-0c53-4667-8cbd-01db61075090?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=You%20don%27t%20need%20exactly%2013%20color%20codes%20for%20a%20custom%20color%20palette%20in%20Superset.%20You%20can%20use%20any%20number%20of%20colors%E2%80%94palettes%20in%20Superset%20vary%20in%20length%2C%20for%20example%2C%20some%20have%2010%2C%2012%2C%20or%2020%20colors.%20There%20are%20no%20restrictions%20in%20the%20code%20or%20documentation%20that%20require%20a%20specific%20number%20of%20colors%20in%20your%20palette.%20You%20can%20see%20examples%20of%20palettes%20with%20different%20lengths%20in%20the%20Superset%20codebase%2C%20like%20the%20%22Lyft%20Colors%22%20palette%20with%2010%20colors%20and%20the%20%22Superset%20Colors%22%20palette%20with%2020%20colors%20%5B%28example%29%5D%28https%3A//github.com/apache/superset/blob/master/superset-fron
 
tend/packages/superset-ui-core/src/color/colorSchemes/categorical/superset.ts%29.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/37040)

GitHub link: 
https://github.com/apache/superset/discussions/37040#discussioncomment-15472164

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to