# \[Launched\] 🎨 As-code color palettes: Manage color palettes through AML for better reusability

**URL:** <https://community.holistics.io/t/launched-as-code-color-palettes-manage-color-palettes-through-aml-for-better-reusability/2641>\
**Category:** Product Releases\
**Tags:** aml, canvas-dashboard, visualizations\
**Created:** [March 5, 2026, 1:41am UTC](https://community.holistics.io/t/launched-as-code-color-palettes-manage-color-palettes-through-aml-for-better-reusability/2641 "2026-03-05T01:41:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![minhnguyen123](https://community.holistics.io/user_avatar/community.holistics.io/minhnguyen123/32/778_2.png) [@minhnguyen123](https://community.holistics.io/u/minhnguyen123)\
**Post date:** [March 5, 2026, 1:41am UTC](https://community.holistics.io/t/launched-as-code-color-palettes-manage-color-palettes-through-aml-for-better-reusability/2641/1 "2026-03-05T01:41:04Z")

</div>

Hi there 👋

We’re thrilled to introduce our new **Color Palette as-code** — bringing color palette management directly into your AML workspace. Define palettes once in code and reference them anywhere, with full version control and workspace-level defaults.

 ![](https://community2.holistics.io/uploads/default/original/2X/f/fb4d761eb9d181a091c5a2323c07066d7bceace3.jpeg)  
🌟 **What’s New:**

- 📝 **Code-First palette definition** : Create color palettes directly in AML files alongside your data models — no more jumping to Admin Settings.
- 🔄 **Workspace defaults** : Set a default color palette at the workspace level, ensuring all newly created dashboards automatically use your brand colors.
- 🎯 **Multi-Level referencing** : Reference palettes at any level — project-wide, per theme, or per individual chart. Lower levels always override higher ones for precise control.
- 🔗 **True reusability** : Changes to a palette automatically propagate everywhere it’s referenced. Update once, apply everywhere.

---

<div class="post-metadata">

**Author:** ![Hien\_Nguyen\_Thanh](https://community.holistics.io/user_avatar/community.holistics.io/hien_nguyen_thanh/32/2233_2.png) [@Hien\_Nguyen\_Thanh](https://community.holistics.io/u/Hien_Nguyen_Thanh)\
**Post date:** [June 22, 2026, 5:28am UTC](https://community.holistics.io/t/launched-as-code-color-palettes-manage-color-palettes-through-aml-for-better-reusability/2641/2 "2026-06-22T05:28:00Z")

</div>

# [Launched] Color palettes is now as code! 🎨

Hey everyone! 👋  
Starting today, you can **define your entire color palette as code** using AML! Manage your data’s look and feel directly from your development workflow, ensuring perfect consistency across your workspace.

## ⚙ How it works

- **Define color palettes in** `palette.aml`: Create palettes in AML and reference them, so that every change will automatically propagate to all referencing elements.
- **Set a workspace-level default:** Mark a palette in `settings.aml` so charts automatically use it by default, unless overridden at the theme or visualization level.

## ⚠ Legacy palettes

You can view, use, and delete them, but they can no longer be edited. To replace a legacy palette, we’ve provided a way to generate the as-code palette from the legacy by:

- Go to **Development \> Settings \> Default color palette**
- Click **Generate color palette as-code**

## 📚 Documentation

- [Color palette](https://docs.holistics.io/docs/admin/dashboard-themes/color-palettes)
- [AML syntax reference](https://docs.holistics.io/reference/aml/theme#colorpalette)

Give it a try and drop a comment if you have questions!

---

<div class="post-metadata">

**Author:** ![Hien\_Nguyen\_Thanh](https://community.holistics.io/user_avatar/community.holistics.io/hien_nguyen_thanh/32/2233_2.png) [@Hien\_Nguyen\_Thanh](https://community.holistics.io/u/Hien_Nguyen_Thanh)\
**Post date:** [July 28, 2026, 3:14am UTC](https://community.holistics.io/t/launched-as-code-color-palettes-manage-color-palettes-through-aml-for-better-reusability/2641/3 "2026-07-28T03:14:09Z")

</div>

Hi everyone - following up on this thread! We’ve just shipped a related improvement: you can now assign a color palette directly at the **theme level** , so every chart on a dashboard automatically picks it up without needing per-chart overrides.

Check out the full announcement here: [Theme-level color palette: Consistent chart color in dashboard 🎨](https://community2.holistics.io/t/launched-theme-level-color-palette-consistent-chart-color-in-dashboard/2738)

 ![ThemeLevelColorPaletteThumbnail.png](https://community2.holistics.io/uploads/default/original/2X/a/a34b4011f4bdb22b053071ec1341bd799fb53654.jpeg)
